1.

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).


Discussion

No Comment Found