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
Regression introduced in d120245
In webdev, this caused useLoad hook to always return undefined
which broke various components.
Issues appeared with syncheaders on account summary (never ended),
some settings did not load (that depend on useLoad) or the skip for
testing was missing on the waiting view.
> React 18 introduces a new development-only check to Strict Mode.
> This new check will automatically unmount and remount every
> component, whenever a component mounts for the first time,
> restoring the previous state on the second mount.
https://react.dev/blog/2022/03/29/react-v18#new-strict-mode-behaviors
This explains why useLoad broke, as it cleaned up after first
unmount and after that the mounted ref was undefined.
0 commit comments