Jump to content
Search Community

willthomson

Premium
  • Posts

    2
  • Joined

  • Last visited

Everything posted by willthomson

  1. After posting my comment I think I found the solution. Instead of using "useGSAP' I'm using a custom hook called "useIsomorphicLayoutEffect". import { useLayoutEffect, useEffect } from "react"; export const useIsomorphicLayoutEffect = typeof window !== "undefined" ? useLayoutEffect : useEffect;
  2. @JPPdesigns Did you ever find a solution to solving this in Dev Mode? I'm running into the same issue where my production next builds work fine but they jump way down the page in dev mode.
×
×
  • Create New...