Redux - Saga
Redux is a state management tool that works as a “centralized store,” which means that it is the only place to access the state.Redux is a light “standalone” JavaScript library, which means it can be used with any UI framework, most frequently, it is used with ReactJS. Redux-Thunk Redux Thunk is a middleware that enables you to call action creators that return functions (thunks) that accept the store's dispatch method as an argument and are then used to dispatch the synchronous action after the API or side effects have ended. Redux-Saga Another middleware library that assists us with API calls or side effects is Redux Saga. Redux Saga makes use of ES6's "Generators" feature, which makes it easier to develop asynchronous code. Redux-saga’s action creator returns an Object while Redux-Thunk action creator returns a Function(thunk). Redux-Saga Data Flow How data flow When a user interacts with the application, an action is dispatched Root Reducer/ Reducer function is c...