flux VS redux

Compare flux vs redux and see what are their differences.

flux

Application Architecture for Building User Interfaces (by facebookarchive)

redux

Predictable state container for JavaScript apps [Moved to: https://github.com/reduxjs/redux] (by rackt)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
flux redux
26 6
17,417 57,680
- -
6.7 9.0
about 1 year ago about 2 years ago
JavaScript TypeScript
GNU General Public License v3.0 or later GNU General Public License v3.0 or later
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.

flux

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

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 2022-05-14.
  • How to logically combine react-router and redux for client- and server-side rendering
    4 projects | /r/codehunter | 14 May 2022
    I'd like my React based SPA to render on server side (who's not these days). Therefore I want to combine React with react-router, redux and some build layer like isomorphic starterkit.
  • React-redux connect method unable to locate store in props
    1 project | /r/codehunter | 13 Apr 2022
    I have a application structure that mostly mimics the redux real-world example but can't get past getting this error:
  • Why do Redux examples pass empty object as first Object.assign() argument?
    1 project | /r/codehunter | 11 Apr 2022
    In the todoMVC example of the redux project, the reducer for dealing with todos have these lines:
  • Implementing undo / redo in Redux
    1 project | /r/codehunter | 7 Apr 2022
    For a while now I've been wracking my brain as to how you would implement undo / redo in Redux with server interactions (via ajax).
  • How do you configure babel to run with different configurations in different environments
    1 project | /r/codehunter | 18 Mar 2022
    { "name": "add-projects", "version": "0.0.0", "description": "Add projects", "scripts": { "start": "node server.js" }, "repository": { "type": "git", "url": "https://github.com/rackt/redux.git" }, "license": "MIT", "bugs": { "url": "https://github.com/rackt/redux/issues" }, "homepage": "http://rackt.github.io/redux", "dependencies": { "immutable": "^3.7.6", "react": "^0.14.0", "react-dom": "^0.14.0", "react-redux": "^4.0.0", "redux": "^3.0.0", "redux-thunk": "^0.1.0", "redux-undo": "^0.5.0" }, "devDependencies": { "babel-core": "^5.6.18", "babel-loader": "^5.1.4", "babel-plugin-react-transform": "^1.1.0", "babel-preset-es2015": "^6.3.13", "babel-preset-react": "^6.3.13", "babel-tape-runner": "^2.0.0", "enzyme": "^2.0.0-rc1", "expect": "^1.6.0", "express": "^4.13.3", "jsdom": "^7.2.2", "node-libs-browser": "^0.5.2", "react-addons-test-utils": "^0.14.6", "react-transform-hmr": "^1.0.0", "tape": "^4.4.0", "tape-run": "^2.1.2", "webpack": "^1.9.11", "webpack-dev-middleware": "^1.2.0", "webpack-hot-middleware": "^2.2.0" }} Here is the server.js:
  • How do you add/remove to a redux store generated with normalizr?
    2 projects | /r/codehunter | 16 Mar 2022
    I can't find any examples online of someone working with the normalizr tree in this way. The official example does no adding and removing so it was no help either.

What are some alternatives?

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

blazor-fluxor

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

zustand - 🐻 Bear necessities for state management in React

Recoil - Recoil is an experimental state management library for React apps. It provides several capabilities that are difficult to achieve with React alone, while being compatible with the newest features of React.

SWR - React Hooks for Data Fetching

reactive-ui-components-in-rust

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

vuex - 🗃️ Centralized State Management for Vue.js.

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

argo-cd - Declarative Continuous Deployment for Kubernetes

Fluxor - Fluxor is a zero boilerplate Flux/Redux library for Microsoft .NET and Blazor.