-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Currently the StoreManager constructor takes an array of middlewares.
export const storeManager = new StoreManager({
databaseName: 'todo',
proxyReducer,
initialState,
urls,
middlewares: [logger],
})To maintain consistency with the Redux createStore interface, this should accept a StoreEnhacer:
export const storeManager = new StoreManager({
databaseName: 'todo',
proxyReducer,
initialState,
urls,
middlewares: applyMiddleware([logger]),
})I think the difficulty had to do with composing an existing enhancer with the Redux Dev Tools browser extension here:
We haven't really used the Redux Dev Tools, so we could just not wire it up. Or we could figure out how to make it work. See http://github.com/zalmoxisus/redux-devtools-extension#1-with-redux
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels