正在加载视频...

视频加载失败

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,269 次观看 • 1 年前 •via X (Twitter)

11 条评论

Delba 的头像
Delba1 年前

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.

CodeRabbit 的头像
CodeRabbit1 年前

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

Cory Simmons 的头像
Cory Simmons1 年前

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.

Delba 的头像
Delba1 年前

Animations are disabled if you set prefers reduced motion

Drayken 的头像
Drayken1 年前

firefox you fuckers get to work

Chris Nicholas 的头像
Chris Nicholas1 年前

Very nice! Looking forward to trying out these APIs.

Delba 的头像
Delba1 年前

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

Dmytro 的头像
Dmytro1 年前

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

kant 的头像
kant1 年前

Looks good

0xultrainstinct💢 的头像
0xultrainstinct💢1 年前

thank you, this looks amazing!!

Neanrakyr 的头像
Neanrakyr1 年前

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

相关视频