mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-01-26 14:56:42 +08:00
Merge branch 'master' of github.com:Microsoft/frontend-bootcamp
This commit is contained in:
@@ -58,7 +58,7 @@ We begin the journey into Redux by looking at the store. The store consists of s
|
||||
|
||||
## Create Store
|
||||
|
||||
The `createStore()` takes in several arguments. The simplest for just takes in reducers. Reducers are the means by which the state changes from one snapshot to another.
|
||||
The `createStore()` takes in several arguments. The simplest form just takes in reducers. Reducers are the means by which the state changes from one snapshot to another.
|
||||
|
||||
```ts
|
||||
const store = createStore(reducer);
|
||||
|
||||
Reference in New Issue
Block a user