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

useReduxViewModel tries to update a component on the previous page, which drops a React error in the console #2241

Open
VasilyStrelyaev opened this issue Feb 16, 2022 · 0 comments
Labels
bug Issues related to defects and incorrect/unexpected feature behavior severity: moderate Issues with medium impact on the product, e.g., new features, non-critical defects, etc.

Comments

@VasilyStrelyaev
Copy link

When I navigate from a page that has a view model-connected component to a different page that also uses a view model, the useReduxViewModel method on the new page tries to send an update (here) to the component on the previous page.

This issue can be reproduced with the shopping-list-redux demo just by navigating from the shopping list index to an individual list:

image


image

@MrCheater MrCheater added bug Issues related to defects and incorrect/unexpected feature behavior severity: moderate Issues with medium impact on the product, e.g., new features, non-critical defects, etc. labels Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues related to defects and incorrect/unexpected feature behavior severity: moderate Issues with medium impact on the product, e.g., new features, non-critical defects, etc.
Projects
None yet
Development

No branches or pull requests

2 participants