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
We want to use useLayoutEffect, because useEffect is not appropriate (too late to change state).
React seems to use high priority in useLayoutEffect, so we need to force changing to normal priority. otherwise, rendering can't be interrupted.
While reading source code, it's hard to understand why you using
runWithNormalPriority
increateProvider
.Would you mind explaining it?
The text was updated successfully, but these errors were encountered: