Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DynamicModuleLoader resetting the attached store values #133

Open
jeevasusej opened this issue Feb 6, 2020 · 1 comment
Open

DynamicModuleLoader resetting the attached store values #133

jeevasusej opened this issue Feb 6, 2020 · 1 comment

Comments

@jeevasusej
Copy link

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>
@ljosberinn
Copy link

Working as intended:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants