0 votes
in Redux by
Explain what a "store" in Redux means.

1 Answer

0 votes
by

In Redux, the "Store" holds all the states, reducers, and actions that make up the app. The following are some of the Store's responsibilities:

The Redux Store keeps track of the current application's state from within.

  • We can use the Store to get the current state.getState().
  • We can use the Store—dispatch to update the state (action).
  • The Store can also be used to register listener callbacks. subscriber(listener)

Related questions

0 votes
0 votes
asked Aug 28, 2022 in Redux by john ganales
0 votes
0 votes
asked Aug 28, 2022 in Redux by john ganales
...