EdgeCoders
Published in

EdgeCoders

The difference between Flux and Redux

It’s all about constraints

The Flux diagram: https://github.com/facebook/flux

Flux is a pattern and Redux is a library.

Flux is a fancy name for the observer pattern modified a little bit to fit React, but Facebook released a few tools to aid in implementing the Flux pattern, so the following is the difference between using these tools (which is commonly referred to as using Flux) and using Redux.

--

--

--

jsComplete’s Medium Publication — jsComplete is a FREE software educational library focused on JavaScript, Node, React & GraphQL. It has video courses, books, articles, and interactive lessons.

Recommended from Medium

Your One Stop Shop for JavaScript Classes

Angular State Management Using NgRx

Snippets of Wisdom 1 (of many?)

React: Doing research in Charts

Google Meet Assistant (Chrome Extension

Merge Sort🎂

Running End to End tests as Google Cloud Functions

How to Convert an Array to a String without Commas in JavaScript

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Samer Buna

Samer Buna

Author for Pluralsight, O'Reilly, Manning, and LinkedIn Learning. Curator of jsComplete.com

More from Medium

DangerouslySetInnerHTML in React JS Explained

ES6 Topic Two: Default Parameters & Destructuring Assignment

Jest tests failed when using csv-parse/sync library

ESlint, Prettier, EditorConfig and Husky For react typescript Project