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

Still perform finalActions even if retained: true #123

Open jrsquared opened 4 years ago

jrsquared commented 4 years ago

I still want to perform finalActions even if retained: true. Is there a way to achieve this?

I use initialActions and finalActions to start and stop polling, and I want to be able to stop polling when unmounting a DynamicModuleLoader even if retained: true.