action and reducer setup

This commit is contained in:
stephen grider 2015-11-25 14:41:00 -08:00
parent 246b131b87
commit 9eff420bea
4 changed files with 8 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/node_modules
bundle.js
npm-debug.log

0
src/actions/index.js Normal file
View File

View File

@ -4,9 +4,10 @@ import ReactDOM from 'react-dom';
import { createStore } from 'redux';
import App from './components/app';
import reducers from './reducers';
ReactDOM.render(
<Provider store={createStore(() => {})}>
<Provider store={createStore(reducers)}>
<App />
</Provider>
, document.getElementById('container'));

5
src/reducers/index.js Normal file
View File

@ -0,0 +1,5 @@
import { combineReducers } from 'redux'
const rootReducer = combineReducers({})
export default rootReducer