A store is a simple JavaScript object that enables components to share state. A store can be compared to a database in several ways. Both constructions, at their most basic level, allow us to store data in some form or another.
Any nested components that require access to the Redux store can use the Provider component. Because any React component in a React Redux project can be connected to the store, most apps will render a Provider> at the top level, which will contain the whole app's component tree.
getState() - Returns the object tree of the current state.
dispatch(action) - To modify the state, dispatch an action.
subscribe(listener) - Listen for state tree updates.
replaceReducer(nextReducer) - Changes the current reducer to a different one.
Learner's Ratings
4.4
Overall Rating
73%
11%
8%
1%
7%
Reviews
M
Mohanlal Khhurana
5
Very helpful course in learning ReactJS
S
sunil laxman shetke
5
Very Nice. Thank you! I truly appreciate it; your kindness is genuinely appreciated.
J
Jashanpreet Singh
5
VERY GOOD COURSE OF REACT JS
S
Syed manzoor ali
5
I gave it 5 stars for their work. Topics are covered very well.but one thing which I would like to say to the teachers that you covered very good but try to cover more things and use less English words. Except this all things are best.
A
Aditya
5
Amazing content.
S
Sonkar Singh
4
This series is usefull for just starting and building confident. Go further and explore more about React JS
Share a personalized message with your friends.