Mar 9th, 2023
The store management with redux has 3 main components:
Actions
Actions are blocks of information that send data from your application to your store. Actions must have a type property that indicates the type of action being performed.
Reducers
Reducers specify how the application’s state changes in response to actions sent to the store.
Store
The Store is the object that brings the action and reducer together. The store has the following responsibilities: Holds application state; Allows access to state; Allows state to be updated via dispatch(action);