You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This shortcoming originates from the detaching logic, located here currently it bubbles up in a straight line but it should reset every child up until the Suspense boundary, including siblings.
Edit: wait it does, but somehow the memo'd component just bails... we might need to set _force to true - I guess a similar fix would be needed for #3449 either way
Describe the bug
I have a simple app with the following structure:
I found that in this case, Foo's useEffect() will NOT be executed. (But it does in React 18)
To Reproduce
https://codesandbox.io/p/sandbox/preact-memo-gpmrxk
Expected behavior
Show foobar
Actual behavior
Show bar
The text was updated successfully, but these errors were encountered: