NextJS Page Animation Transitions with GSAP
How to quickly get animation transitions working with NextJS and GSAP.
Follow me on Twitter: / rithmio
👨💻 Looking for a web developer job, visit: www.webdevjobs.io/
👽 Discord - / discord
👾 GitHub: github.com/sixfwa/nextjs-gsap...
Пікірлер: 34
lol I had a cold when recording, anyway join the Discord server to show off what you made:
This channel is so under rated, nice work thank you.
You should do a minor refactor to use the useGsap() hook provided by GSAP, to ensure that the animation unmounts cleanly.
Thanks for making this; was about to investigate app router page transitions, so this came at the perfect time. Would gladly see more gsap + next.js app router vids :)
damnnnnn first app router page transition tutorial im blessed
Great tutorial, very clean! Thank you! For more semantic html I'd suggest to use an anchor tag instead of a for the (with e.preventDefeault()) which would also add progressive enhancement at no cost. And put the outside the tag and probably wrap the nav links in an too.
I have been searching for a proper tutorial especially with the app router and I can tell you I have found nothing, from the bottom of my heart thank you so much for it you have no idea how you saved me haha, ps the discord invitation link isn’t working for me
Thank you so much for this, i wish i could thank you for million times i love you mate
Going to recommend you for my students thanks for sharing! pretty good content
Thank you so much
Straight to the point , thank you dude. But u forgot cleanup things
Your a G ,man
"long ass import statement" got me dying
Thanks for the great content! Is it possible to use framer motion instead of gsap to achieve a similar effect while retaining SSR?
have you messed around with the useGSAP hook or do you prefer the regular js implementation?
While the animation itself and the impmentation is good, I would personally hate using it. It makes the time you need to navigate the page a lot longer which, in my opinion, ruins the user experience
great tutorial. I think using useRef is preferable to direct DOM manipulation though
brother javascript next time plz>>>>
In animations.ts the "onComplete" makes the navigation very slow, instead "onStart" looks good too especially for user experience
Hey brother, thanks for what you put out to the community 🤝 appreciate you.