redux-dynamic-modules icon indicating copy to clipboard operation
redux-dynamic-modules copied to clipboard

DynamicModuleLoader resetting the attached store values

Open jeevasusej opened this issue 5 years ago • 1 comments

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>

jeevasusej avatar Feb 06 '20 14:02 jeevasusej

Working as intended:

Use the DynamicModuleLoader React component to add/remove modules when components mount/unmount

ljosberinn avatar Feb 14 '20 15:02 ljosberinn