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
Currently, useIsoLayoutEffect is synchronously called in SSR mode, in contrast with how side-effects should never run on SSR mode, infinite re-renders may occur in this case, specially below
Currently,
useIsoLayoutEffect
is synchronously called in SSR mode, in contrast with how side-effects should never run on SSR mode, infinite re-renders may occur in this case, specially belowuse-context-selector/src/index.js
Lines 40 to 48 in d22abe3
I think this is an ideal implementation: https://github.com/reduxjs/react-redux/blob/master/src/utils/useIsomorphicLayoutEffect.js
The text was updated successfully, but these errors were encountered: