mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
Turns on `experimental.optimisticRouting` by default. Second of the Sparkle stack. A few tests pin `optimisticRouting: false` because their assertions observe the pre-flip navigation timing — search-params, a11y route announcer, and hash scroll. To be updated separately. <!-- NEXT_JS_LLM_PR -->
9 lines
279 B
JavaScript
9 lines
279 B
JavaScript
module.exports = {
|
|
experimental: {
|
|
// TODO: The route-announcer test asserts on the pre-`optimisticRouting`
|
|
// title-change timing. Pin the fixture to the old default until the
|
|
// test is updated (or until the flag is removed).
|
|
optimisticRouting: false,
|
|
},
|
|
}
|