-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
feat: allow configuration of how route modules are loaded in the browser #12638
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
base: dev
Are you sure you want to change the base?
Conversation
|
Note - this new API would need to be added to the new |
Alpha release created:
git log --pretty=oneline [email protected] |
@@ -582,6 +582,9 @@ export function RSCHydratedRouter({ | |||
}, | |||
routeDiscovery: { mode: "lazy", manifestPath: "/__manifest" }, | |||
routeModules: {}, | |||
loadRouteModule: () => { | |||
throw new Error("Not required in RSC Mode"); |
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.
@jacob-ebey Can you confirm this is correct?
Alpha release created:
git log --pretty=oneline [email protected] |
Adds a new API for bundler plugin usage to take control over the loading of client modules: