...

/

Store, Actions, and Reducers

Store, Actions, and Reducers

Learn how to store our data and manipulate it using actions.

We'll cover the following...

We’vejust introduced another set of new terminology to you. We will look at all of them in turn and hopefully clear up any confusion.

Store

All data in Redux is managed in stores that manage the global state. Theoretically, applications could have many different stores. Flux architecture even encourages the use of multiple stores. However, in most React applications using Redux, we’ll only find a single store. This reduces complexity dramatically and also declares this single store as the single source of truth (SSOT) for all of our data. The store also provides some methods that can be used to change (dispatch) the data currently stored in the store, read (getState) the data from the store, and react to changes (subscribe).

...