Problem Statement
What are actions in Redux?
Explanation
Actions are plain JavaScript objects with a type property that describes the event or intent.
Reducers use these actions to decide how to update the store’s state.
Code Solution
SolutionRead Only
dispatch({ type: 'INCREMENT' });