Skip to content
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

Extract remix logic out of RouterProvider into HydratedRouter #11469

Merged
merged 6 commits into from
Apr 18, 2024

Conversation

brophdawg11
Copy link
Contributor

Avoid bundle bloat by reversing our idea of just doing all the auto-hydration in RouterProvider, since that means folks using RouterProvider in a RR SPA are paying the cost for all the Remix hydration code. Instead this is now effectively going back to the RemixBrowser approach and calling it HydratedRouter (name not final 😉 )

Copy link

changeset-bot bot commented Apr 17, 2024

🦋 Changeset detected

Latest commit: 9f1b2d7

The changes in this PR will be included in the next version bump.

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

@brophdawg11 brophdawg11 force-pushed the brophdawg11/create-remix-router branch from 796c270 to 6b2b271 Compare April 18, 2024 16:10
@brophdawg11 brophdawg11 merged commit b23e2b4 into v7 Apr 18, 2024
6 of 8 checks passed
@brophdawg11 brophdawg11 deleted the brophdawg11/create-remix-router branch April 18, 2024 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant