Open
Description
Hi,
I'm trying to initialize redux with this middleware, but i can't get it working for now.
I'm new to redux and started with a project based on redux 0.12
A short snippet of the application init steps:
...
import { createRedux, createDispatcher, composeStores } from 'redux';
import thunkMiddleware from 'redux/lib/middleware/thunk';
import promiseMiddleware from 'redux-promise';
import * as stores from '../stores';
const dispatcher = createDispatcher(
composeStores(stores),
[promiseMiddleware, thunkMiddleware]
);
const redux = createRedux(dispatcher);
A i missing something ?
Thx for your help.
Metadata
Metadata
Assignees
Labels
No labels