Replies: 1 comment 1 reply
-
I agree to use the Layout + HydrateFallback if exported instead of Layout + default export, but that won't solve client-only packages breaking on import, you're just switching from pre-rendering Layout + default to pre-rendering Layout + HydrateFallback, the root module needs to be executed at build time on both cases and any import that has side effects depending on the browser will break in that case. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently Remix will try to prerender on the server the index route even if you have ssr set to false and export an HydrateFallback component.
Remix should use the HydrateFallback as the initial html for the index route, so the user can import client only packages in their code and don't worry about ssr.
Beta Was this translation helpful? Give feedback.
All reactions