Jump to content
Search Community

PhoenixNile

Members
  • Posts

    3
  • Joined

  • Last visited

PhoenixNile's Achievements

  1. useEffect(() => { let ctx = gsap.context(() => { // put all your GSAP/ScrollTrigger code inside here... }); return () => ctx.revert(); // <-- CLEANUP! }, []); This worked!! Thank you so much for sharing the docs with me and reaching back out so quickly!
  2. After console logging in my development and production I found that the first part of my useEffect runs and shows the bgRefs, it's just the anonymous function starting on line 18 doesn't run in production.
  3. I current signed up and bought the package to become a club house member, I love what you guys do and wanted to show my support! So I have been working on my React Portfolio Website recently and used the DrawSVGPlugin, I installed the zip file and everything works on my localhost, but when I deployed to Netlify it doesn't show up. When I inspect the page using the dev tools I see my image and logo outline are there but hidden. I have attached bellow the code and pictures from the localhost and live site any help will be much appreciated thank you in advanced!!
×
×
  • Create New...