“Redux is a state management library for JavaScript applications.”
— er.shubhamsharma.com
“It was designed to be used with React, but it can also be used with other JavaScript frameworks and libraries.”
— er.shubhamsharma.com
“Redux helps you manage the state of your application in a predictable and consistent way.”
— er.shubhamsharma.com
“In Redux, the state of the entire application is stored in a single, immutable "store".”
— er.shubhamsharma.com
“To change the state of the application, you need to dispatch an "action" to the store. An action is a plain JavaScript object that describes a change to the state.”
— er.shubhamsharma.com
“The store processes the action and updates the state of the application based on a set of "reducers" that you define. A reducer is a pure function that takes the current state and an action as input, and returns the new state.”
— er.shubhamsharma.com
“To access the state of the application, you can use "selectors", which are pure functions that take the state and return specific pieces of data.”
— er.shubhamsharma.com
“Redux provides several benefits, including a clear separation of concerns, easy debugging, and better support for server-side rendering and offline apps.”
— er.shubhamsharma.com
“Hope you got a better understanding about REDUX. ”