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
The issue likely doesn't stem from ScrollTrigger itself. Instead, it appears related to typeof window !== "undefined" check. This check is commonly used to differentiate between server side and client side. However, during react hydration process, this conditional check can result in mismatched. To address this, add suppressHydrationWarning to the body tag to suppress hydration warnings.
I'm encountering hydration errors when using useGSAP on my NextJs Pages. Whenever i try to use useGSAP on a page, I get a hydration error
The text was updated successfully, but these errors were encountered: