react/fixtures/view-transition
2025-06-11 21:24:24 +02:00
..
public Add <ViewTransition> Component (#31975) 2025-01-08 12:11:18 -05:00
server [Fizz] Apply View Transition Name and Class to SSR:ed View Transitions (#33332) 2025-05-22 10:40:28 -04:00
src [Fizz] Delay detachment of completed boundaries until reveal (#33511) 2025-06-11 21:24:24 +02:00
package.json Clear bundler cache before bundling fixtures (#33426) 2025-06-03 21:10:13 +02:00
README.md Add <ViewTransition> Component (#31975) 2025-01-08 12:11:18 -05:00
yarn.lock [Fiber] Use className on <ViewTransition> to assign view-transition-class (#31999) 2025-01-08 13:22:06 -05:00

View Transition

A test case for View Transitions.

Setup

To reference a local build of React, first run npm run build at the root of the React project. Then:

cd fixtures/view-transition
yarn
yarn start

The start command runs a webpack dev server and a server-side rendering server in development mode with hot reloading.

Note: whenever you make changes to React and rebuild it, you need to re-run yarn in this folder:

yarn

If you want to try the production mode instead run:

yarn start:prod

This will pre-build all static resources and then start a server-side rendering HTTP server that hosts the React app and service the static resources (without hot reloading).