react/fixtures
Sebastian Markbåge 59440424d0
Implement Navigation API backed default indicator for DOM renderer (#33162)
Stacked on #33160.

By default, if `onDefaultTransitionIndicator` is not overridden, this
will trigger a fake Navigation event using the Navigation API. This is
intercepted to create an on-going navigation until we complete the
Transition. Basically each default Transition is simulated as a
Navigation.

This triggers the native browser loading state (in Chrome at least). So
now by default the browser spinner spins during a Transition if no other
loading state is provided. Firefox and Safari hasn't shipped Navigation
API yet and even in the flag Safari has, it doesn't actually trigger the
native loading state.

To ensures that you can still use other Navigations concurrently, we
don't start our fake Navigation if there's one on-going already.
Similarly if our fake Navigation gets interrupted by another. We wait
for on-going ones to finish and then start a new fake one if we're
supposed to be still pending.

There might be other routers on the page that might listen to intercept
Navigation Events. Typically you'd expect them not to trigger a refetch
when navigating to the same state. However, if they want to detect this
we provide the `"react-transition"` string in the `info` field for this
purpose.
2025-05-13 16:00:38 -04:00
..
art Bump canary versions to v19-canary (#28646) 2024-03-26 15:31:57 -04:00
attribute-behavior React DOM: Add support for Popover API (#27981) 2024-05-20 22:01:39 +02:00
concurrent/time-slicing Bump follow-redirects from 1.15.4 to 1.15.6 in /fixtures/concurrent/time-slicing (#28572) 2024-03-18 11:56:04 -04:00
devtools Rename "next" prerelease channel to "canary" (#26761) 2023-05-03 12:10:32 -04:00
dom Add dispatchEvent to fragment instances (#32813) 2025-05-07 14:00:59 -04:00
eslint-v6 feat(eslint-plugin-react-hooks): merge rule from eslint-plugin-react-compiler into react-hooks plugin (#32416) 2025-03-12 21:43:06 -04:00
eslint-v7 feat(eslint-plugin-react-hooks): merge rule from eslint-plugin-react-compiler into react-hooks plugin (#32416) 2025-03-12 21:43:06 -04:00
eslint-v8 feat(eslint-plugin-react-hooks): merge rule from eslint-plugin-react-compiler into react-hooks plugin (#32416) 2025-03-12 21:43:06 -04:00
eslint-v9 feat(eslint-plugin-react-hooks): merge rule from eslint-plugin-react-compiler into react-hooks plugin (#32416) 2025-03-12 21:43:06 -04:00
expiration Bump browserify-sign from 4.0.4 to 4.2.2 in /fixtures/expiration (#27600) 2023-11-01 19:31:28 +00:00
fiber-debugger Rename yarn start to yarn dev and yarn start:prod to yarn start (#26209) 2023-02-21 14:18:21 -05:00
fizz Bump canary versions to v19-canary (#28646) 2024-03-26 15:31:57 -04:00
fizz-ssr-browser [UMD] Remove umd builds (#28735) 2024-04-17 11:15:27 -07:00
flight Implement Navigation API backed default indicator for DOM renderer (#33162) 2025-05-13 16:00:38 -04:00
flight-esm Upgrade node.js to 20 LTS (#32855) 2025-04-14 12:52:02 -04:00
flight-parcel [Flight Parcel] Implement findSourceMapURL (#32294) 2025-02-04 14:17:13 -05:00
legacy-jsx-runtimes Bump braces from 3.0.2 to 3.0.3 in /fixtures/legacy-jsx-runtimes (#29844) 2024-06-11 11:36:36 -04:00
nesting docs: fix typo in fixtures/nesting/README.md (#27507) 2024-04-06 19:11:19 +02:00
owner-stacks Stop creating Owner Stacks if many have been created recently (#32529) 2025-03-23 15:47:03 -07:00
packaging Bump browserify-sign from 4.0.4 to 4.2.2 in /fixtures/packaging/brunch/prod (#27598) 2023-11-01 19:30:25 +00:00
scheduler [flags] Delete enableSchedulerDebugger (#31826) 2024-12-18 13:29:22 -05:00
ssr [Fiber] Replay events between commits (#33130) 2025-05-06 00:23:27 -04:00
ssr2 Bump canary versions to v19-canary (#28646) 2024-03-26 15:31:57 -04:00
stacks Bump braces from 3.0.2 to 3.0.3 in /fixtures/stacks (#29843) 2024-06-11 11:35:40 -04:00
view-transition Implement Navigation API backed default indicator for DOM renderer (#33162) 2025-05-13 16:00:38 -04:00