single reducer

This commit is contained in:
Shin'ya Ueoka 2017-10-04 22:01:16 +09:00
parent 6594841b1d
commit 79a4a805f6
6 changed files with 14 additions and 9 deletions

View file

@ -6,11 +6,11 @@ import * as followActions from '../actions/follow';
import { createStore } from '../store';
import ContentInputComponent from '../components/content-input';
import FollowComponent from '../components/follow';
import followReducer from '../reducers/follow';
import reducers from '../reducers';
import operations from '../operations';
import messages from './messages';
const store = createStore(followReducer);
const store = createStore(reducers);
const followComponent = new FollowComponent(window.document.body, store);
store.subscribe(() => {
try {