Animate before route change with anchor tag (Next.js)
January 20, 2022
Hey everyone! I was wondering if it possible to animate a page before the route change? I'm currently using a classic technic with Router.push(newUrl) when the animation is completed but I'm losing the anchor tag SEO benefit. Any idea ?
3 replies