August 2017
Beginner
374 pages
10h 41m
English
Now that we implemented our action types, action creators, and reducers, we need to create the Redux store from our app reducer.
import { createStore } from 'redux'
import appReducer from './reducers'
import { createUser, createPost } from './actions'
let store = createStore(appReducer) // create users store.dispatch(createUser('dan', 'Daniel Bugl')) store.dispatch(createUser('des', 'Destiny')) // create ...Read now
Unlock full access