Share Posted July 12, 2022 In the below link, the GSAP effect is working on page load. However, when I refresh the page, it no longer works. Why is this? I tried using a useEffect hook but that didn't work. https://codesandbox.io/s/wonderful-elbakyan-enusid?file=/src/App.js Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now