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
rc-utils v5.28.0 add useMobile hooks, in useMobile call useLayoutEffect, useLayoutEffect called in ssr node env, so react-dom give a useLayoutEffect warning.
Since useLayoutEffect, a warning is issued, consider using useEffect? Otherwise, if it is used in SSR, you will always be warned.
The text was updated successfully, but these errors were encountered:
Env:
useMobile
hooks, inuseMobile
calluseLayoutEffect
,useLayoutEffect
called in ssr node env, so react-dom give auseLayoutEffect
warning.Since useLayoutEffect, a warning is issued, consider using useEffect? Otherwise, if it is used in SSR, you will always be warned.
The text was updated successfully, but these errors were encountered: