Redux - Concepts
Redux enables you to build apps that behave consistently. The apps built using Redux are independent of the environment it runs in.
Apart from the ones mentioned above, there is a multitude of features that Redux caters its users with. It equips the developers with time-travel debugging, flexibility to work with any UI layer, and a wide array of add-ons to choose from.
Prerequisites
You should be familiar with:
- JavaScript
- ReactJS basics such as State, Props, Components etc.,
- NodeJS should be already installed in your system.
- https://nodejs.org/en/download/
- Redux is a State Management JavaScript Library.
- A Predictable State Container for JavaScript Apps.
- Predictable = able to be known
- State Container = global state for entire app(store)
- JavaScript Apps = React, Angular, Vue etc.,
- It is most commonly used with libraries such as React or Angular for building user interfaces.
- Redux was created by Dan Abramov and Andrew
Clark in 2015.
- Yes, we have few more libraries similar to Redux which are Flux and MobX.
- Flux and MobX supports multiple stores.
- Redux is more popular among three.
- If you already learned React then Redux will definitely added advantage to
your resume
- Create A Simple Node Project
npm init -y - Install Redux Package
npm install redux - To see the preview
- node index.js