View Transitions in React
Update: 2024-06-12
Description
Ryan tells Sam about his experiments with using the new View Transitions API in a React photo gallery app. He talks about how he likes the flexibility of the API, how to think about integrating it into any client-rendered app regardless of the framework, and how he used a Promise with an Effect to tie a View Transition to a React Transition.
Topics include:
- 0:00 - Intro
- 1:11 - What it’s like to integrate View Transitions with React
- 7:30 - How View Transitions work
- 16:09 - Building a gallery that animates photos across page navigations
- 19:38 - How to use startViewTransition for enter/update/exit animations
- 26:52 - Using a Promise to link a View Transition to a React Transition
- 43:02 - Do View Transitions replace framework-specific animation libraries?
- 45:17 - Using DevTools to preview and tweak transitions
Links:
Comments
Top Podcasts
The Best New Comedy Podcast Right Now – June 2024The Best News Podcast Right Now – June 2024The Best New Business Podcast Right Now – June 2024The Best New Sports Podcast Right Now – June 2024The Best New True Crime Podcast Right Now – June 2024The Best New Joe Rogan Experience Podcast Right Now – June 20The Best New Dan Bongino Show Podcast Right Now – June 20The Best New Mark Levin Podcast – June 2024
In Channel