Questions tagged [redux-dynamic-modules]
5 questions
5
votes
1 answer
React-Testing-Library Setup for Redux, Router and Dynamic Modules using TypeScript
I have a small application that uses redux-dynamic-modules as a store, react-router for routing and all the compenents are function components with hooks like useState,useHistory,useLocation, useSelector, useDispatch etc.
I want to set up…

Sergei Klinov
- 730
- 2
- 12
- 25
3
votes
1 answer
Redux Dynamic Modules: Type 'AnyAction' is not assignable to type 'Action'
I'm implementing redux-dynamic-modules in my application and it is not the first module in my app, but I get strange error when I try to create this module:
export const reduxProfile = () => {
return {
id: 'profile',
reducerMap: {
…

Sergei Klinov
- 730
- 2
- 12
- 25
1
vote
1 answer
Redux state lost when moving from one module to another module
I am using react, redux, react redux with redux dynamic module.
For loading modules, I am using the dynamic module loader.
After loading the modules, when I move from one module to another, the state has been lost.
I don't know why. I cannot utilize…

Jeeva J
- 3,173
- 10
- 38
- 85
1
vote
1 answer
React Redux dynamic module loading module with promise instated of state
Technology stack
React, React-DOM - 16.11.0
Redux - 4.0.4
React-redux - 7.1.1
redux-dynamic-modules - 5.1.1
I am trying to load reducers dynamically with the help of Redux-Dynamic-Module library and in sample code I did achieve dynamically…

Sunil Kashyap
- 2,946
- 2
- 15
- 31
0
votes
0 answers
redux-dynamic-modules with type script error on DynamicModuleLoader
I am try to use redux-dynamic-modules with typescript. It shows this error. can some one help me.
I implemented this with javascript. github link. But when I try to convert this to type script I am in a trouble.
This is the redux-dynamic-modules…

Kavishka Madhushan
- 146
- 1
- 8