Redux is a design pattern to maintain the state of an application in the common place.
Instead of maintaining the state for individual components, we can maintain the state for all components in one place with the help of redux Library.
State container :
A state container is a place where which can maintain the data for all components of an application.
centralized: centralizing your application state and logic enables powerful capabilities like undo, redo, and state persistence.
Redux:
Mutation: mutation means updating data. Already existing data is there and new add is added to existing data.
Replacement: replacement means replacing the new data with existing data.
UseState : in useState hook, data is replaced not mutation.
Container: