useSession Causing Hydration Mismatch Inside Suspense
You can see the video, using
useSession
inside Suspense
will cause hydration mismatch error, but if i remove the Suspense
, the error disappear.
Current solution is to use isMounted
before render anything from useSession
0 Replies