Loading video...
Video Failed to Load
Playing with React's <ViewTransition> for cross-page animations in Next.js. It's early and experimental, but very cool! Two tips: • Use a poor man's motion blur for movement `filter: blur(0->10->0)` • Use Chrome's animations devtools to debug
160,204 views • 1 year ago •via X (Twitter)
11 Comments

Here is a diff adding view transitions: Still figuring out best practices and how to compose everything. Tailwind adding some view transition presets will go a long way.

AI-first pull request reviewer with context-aware feedback, line-by-line code suggestions, and real-time chat.

As someone who disables motion blur in every single thing I possibly can including closing my eyes at movie theaters, I'd suggest not adding motion blur.

Animations are disabled if you set prefers reduced motion

firefox you fuckers get to work

Very nice! Looking forward to trying out these APIs.

It's pretty cool how far basic usage goes, barely touching the surface of what's possible.

Okay, I’ll need to rework my website-portfolio soon :)

Looks good

thank you, this looks amazing!!

When will you release the NextSchool :D ! ? I love when you teach me how to be better in Next !

