Files
frontend-bootcamp/step2-05/exercise/src/index.tsx
T
2019-03-02 22:56:59 -08:00

12 lines
388 B
TypeScript

import { reducer } from './reducers';
import { createStore } from 'redux';
import { actions } from './actions';
import { composeWithDevTools } from 'redux-devtools-extension';
const store = createStore(reducer, {}, composeWithDevTools());
// TODO: try doing some store.dispatch() calls here
// HINT: remember to use the functions inside "actions" object
console.log(store.getState());