Describe the bug
When a render effect reading async value is nested within another effect reading another async value cleanup sometimes run too early.
Your Example Website or App
https://s.olid.uk/id/oHOnRtMeTDKAY2kJ-DQQ3w
Steps to Reproduce the Bug or Issue
- click button
- observe how the portal disappear before later reappearing instead of atomically swapping.
Expected behavior
The result is observably atomic once the entire update is done.
Screenshots or Videos
No response
Platform
- OS: Windows
- Browser: Firefox
Additional context
No response
Describe the bug
When a render effect reading async value is nested within another effect reading another async value cleanup sometimes run too early.
Your Example Website or App
https://s.olid.uk/id/oHOnRtMeTDKAY2kJ-DQQ3w
Steps to Reproduce the Bug or Issue
Expected behavior
The result is observably atomic once the entire update is done.
Screenshots or Videos
No response
Platform
Additional context
No response