-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stabilize future flags #10072
Stabilize future flags #10072
Conversation
🦋 Changeset detectedLatest commit: d4bbd2f The changes in this PR will be included in the next version bump. This PR includes changesets to release 16 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
if (isSpaMode && appConfig.future?.unstable_lazyRouteDiscovery === true) { | ||
throw new Error( | ||
"You can not use `future.unstable_lazyRouteDiscovery` in SPA Mode (`ssr: false`)" | ||
); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this was unintentionally left in here from a first pass - we decided up front that SPA mode would just not have fog of war so its never enabled at run time, so no need to fail the build (which would be a problem in RR v7 anyway)
export function isFogOfWarEnabled(future: FutureConfig, isSpaMode: boolean) {
return future.v3_lazyRouteDiscovery === true && !isSpaMode;
}
2615624
to
3ed42fa
Compare
b3d7f8d
to
8afda97
Compare
3ed42fa
to
bb3a0c1
Compare
bb3a0c1
to
d4bbd2f
Compare
🤖 Hello there, We just published version Thanks! |
🤖 Hello there, We just published version Thanks! |
Stacked on #9980