Files
frontend-bootcamp/step2-06/exercise/src/index.tsx
Elizabeth Craig 0d1160145a More day 2 updates
2019-02-28 22:29:28 -08:00

17 lines
491 B
TypeScript

import { reducer } from './reducers';
import { createStore } from 'redux';
import { composeWithDevTools } from 'redux-devtools-extension';
import { actions } from './actions';
const store = createStore(reducer, {}, composeWithDevTools());
console.log(store.getState());
// TODO: dispatch several actions and see the effects on state inside the Redux devtools
// store.dispatch(actions.???);
// store.dispatch(actions.???);
// store.dispatch(actions.???);
console.log(store.getState());