recompose VS redux

Compare recompose vs redux and see what are their differences.

recompose

A React utility belt for function components and higher-order components. (by acdlite)

redux

Predictable state container for JavaScript apps (by reduxjs)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
recompose redux
12 267
14,850 60,381
- 0.2%
1.7 9.0
over 1 year ago 3 days ago
JavaScript TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

recompose

Posts with mentions or reviews of recompose. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-24.
  • Functional programming in react?
    3 projects | /r/react | 24 Oct 2022
    A lot of stuff from functional programming are used in react. Hooks were basically recompose: https://github.com/acdlite/recompose
    3 projects | /r/react | 24 Oct 2022
    Specifically to React component design? I haven't seen any since [Recompose](https://github.com/acdlite/recompose) (which Andrew Clark archived in lieu of hooks). But you can still use FP inside your renders, general utilities and hooks.
  • React HOC horror
    2 projects | /r/programminghorror | 30 Sep 2022
    For those curious this is the result of using recompose
    2 projects | /r/programminghorror | 30 Sep 2022
    There was a time when HOCs where super popular, in particular there was a library called recompose, this is the result of using that library https://github.com/acdlite/recompose
  • Writing purely functional stateful components without hooks
    4 projects | /r/reactjs | 5 Jun 2021
    I might look like an asshole, but that also can save you time on future work: recompose includes withState and many other HOCs

redux

Posts with mentions or reviews of redux. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-23.

What are some alternatives?

When comparing recompose and redux you can also consider the following projects:

zustand - 🐻 Bear necessities for state management in React

remix - Build Better Websites. Create modern, resilient user experiences with web fundamentals.

SWR - React Hooks for Data Fetching

valtio - 💊 Valtio makes proxy-state simple for React and Vanilla

swift-composable-architecture - A library for building applications in a consistent and understandable way, with composition, testing, and ergonomics in mind.

react-query - 🤖 Powerful asynchronous state management, server-state utilities and data fetching for TS/JS, React, Solid, Svelte and Vue. [Moved to: https://github.com/TanStack/query]

effector-react - Business logic with ease ☄️

redux-toolkit - The official, opinionated, batteries-included toolset for efficient Redux development

xstate - Actor-based state management & orchestration for complex app logic.

reflux - A simple library for uni-directional dataflow application architecture with React extensions inspired by Flux

reselect - Selector library for Redux

kea - Batteries Included State Management for React