Describe what is meant by a "store" in Redux.

Answer

“Store” in Redux is used to carry together all the states, reducers, and actions which create the app.

Some of the responsibilities of the store are as follows:

The state of the current application from inside is held by the Redux Store.
We can access the current state using store.getState().
We can update the state using store.dispatch(action).
We can also register listener callbacks using the store.subscriber(listener)

All react js Questions

Ask your interview questions on react-js

Write Your comment or Questions if you want the answers on react-js from react-js Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---