|
|
|
|
|
by acemarke
2920 days ago
|
|
One other addendum: The "store" is the object returned from `createStore()`, which has the `dispatch`, `getState`, and `subscribe` methods. The store object contains your "state" value, which could be a simple number by itself, an array, an object, or whatever else you return. Typically that top level value _is_ an object with other values nested inside of it, and _that_ is your "state tree". So, the "store" contains the "state tree", and they are not the same thing. |
|