microsoft / redux-dynamic-modules

Modularize Redux by dynamically loading reducers and middlewares.
https://redux-dynamic-modules.js.org
MIT License
1.07k stars 116 forks source link

remain module when component unmount #173

Closed olabala closed 3 years ago

olabala commented 3 years ago

how can i remain module when component unmount

i found a prop 'keepModulesOnUnmount', but for some reasons it gones ?

could it be possible for me to keep modules on ?

fostyfost commented 3 years ago

Try 'retained: true' for your module

olabala commented 3 years ago

never noticed this 🤦‍♂️

it works well, thank u