Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
エラー文: A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used: 参考: greensock/react#8 https://gsap.com/community/forums/topic/35440-warning-extra-attributes-from-the-server-style/#comment-203599 → run into similar issue using the app directory in NextJS 13. I'm using ScrollTrigger and ScrollSmoother plugin and managed to fix it by moving the gsap.registerPlugin(ScrollTrigger, ScrollSmoother) inside of useEffect/ useIsomorphicLayoutEffect hook.
- Loading branch information