-
-
Notifications
You must be signed in to change notification settings - Fork 324
Detached model state on render of unmounted context consumer where context provider value does not change. #847
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
Comments
Wanna hop on a call on Saturday for me to demo? |
I'm away this weekend unfortunately so will have till next week. |
Okay, the issue should specifically happen if you click on the Based on the screenshot it looks like you cloned the wrong branch. Needs to be the |
Let me know if you've been able to replicate this on the |
I've had trouble getting it set up. I can't remember the error I was experiencing at the moment. Can try and post later. |
@rmorshea I can demo today if you are available. |
I'll be available at 5:30 Pacific Time. |
Still need to create a reproducible example, but always rendering the whole tree (as suggested in this comment) seems to fix this problem. |
Closed by #870 |
Uh oh!
There was an error while loading. Please reload this page.
Current Situation
Context
should be able to be scoped to conditionally rendered components, and when those subcomponents are removed the deletion of theContext
should be handled gracefully.See: https://github.com/Archmonger/Conreq/blob/d64b3ba879d263b36ab4806d4790d44cefea1045/conreq/_core/components.py#L46-L64
Can be replicated by pulling the latest Conreq branch, and clicking between the any of the "settings" sidebar tabs, then going to a different tab.
Proposed Actions
Determine root cause and fix.
The text was updated successfully, but these errors were encountered: