redux-dynamic-modules
redux-dynamic-modules copied to clipboard
Modularize Redux by dynamically loading reducers and middlewares.
Looking through the source code I saw the function `getReducerManager` and it seems like it could be useful in saga testing when I need to pull together all the reducers...
Hi there, I'm currently changing over a website to use redux-dynamic-modules. It also uses react-router which lead me to the following problem. It seems, middleware that gets added as an...
Two questions: 1. Is `replaceReducer()` supported by the store, and is there a way to substitute a saga? 1. Is there any guidance (via example code or docs) to show...
replaceableWrapper should be the same as Epic. As you use hot load (HMR) for development or go forward/back between pages. it's relating to https://github.com/microsoft/redux-dynamic-modules/pull/112#discussion_r340415209 @abettadapur
Hello! My store: `transition: { bus: { .... } }` I have a situation where I need to add new reducer for store with the same “transition” key using another...
My module looks like: ``` export const sagaMiddleware = createSagaMiddleware(); const module = ({ id: name, reducerMap: { [name]: reducer, }, middlewares: [middleware, sagaMiddleware], }); ``` and later `sagaMiddleware.run(...);` Middlewares...
There are enhancers that depend on a reducer that adds to the state. I tried adding the `Redux-first-router` enhancer, but it throws an error that the state hasn't been set,...
Hi I have started using this module been getting this issue the functionality breaks in DynamicModuleLoader.render function where it tries to find .Consumer return (React.createElement(react_redux_1.ReactReduxContext.Consumer, null, function (reactReduxContext) { return...
Please add more examples, because there is now example on how we can test a component that has been wrapped in the `DynamicModuleLoader` ?