Creating seamless and visually engaging transitions between pages has become an integral aspect of enhancing user experience. Next.js, a popular Re...
For further actions, you may consider blocking this person and/or reporting abuse
nice
My plesure,
Exactly what I have done in my latest project, that is reassuring 👍
I had to rely on ugly hacks to make this working properly before the Next 14 release (animatePresence + mode attr.)
Exactly, we had to deal with those kinds of weird hacks, but now have such a clean way to get the animation done, All Thanks to Nextjs Team
well documented
Thanks, hope it helps
well done and keep growing bro🙌🙌
You're welcome!
This method doesn't cover the exit animations. I did fork your repo and the transition between routes looks like the current route is simply disappearing and then the animation of next route starts (opacity etc). Do you have any idea how to fix this issue?
This is something I just noticed while trying this. Did you end up finding a solution for this?
How to add page transitions when using page router?
i have followed the tutorial closely but the transition only occur on initial page load, it does not persist on when i make subsequent navigation to different pages
Did you use
template.ts
orlayout.ts
make sure to usetemplate.ts
otherwise the layout effect only appear once, for working example look at my source code heregithub
Exit animation is still not working that way