-
Notifications
You must be signed in to change notification settings - Fork 247
Open
Labels
Description
Based on the examples in this repo, Remix + Styled Components with SSR is a relatively solved solution. However, SPA mode makes things interesting. We do not have a server to inject the styles in at runtime so if there is a full document refresh (like in the case of an error that causes rehydration to kick off and render the ErrorBoundary) then all styles with styled components are lost.
Has anyone come up with a solution for this quite yet they'd be willing to share?