redux-dynamic-modules
redux-dynamic-modules copied to clipboard
DynamicModuleLoader resetting the attached store values
After load a component using DynamicModuleLoader, when I moving to another page and come back to the same page, the values are reset. It's not retaining the old attached values with the store.
<DynamicModuleLoader modules={[getNewUserDialogModule()]}>
<ConnectedNewUserDialogContent />
</DynamicModuleLoader>
Working as intended:
Use the DynamicModuleLoader React component to add/remove modules when components mount/unmount