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

fix(styled-components): fix SSR and error styles #311

Merged
merged 4 commits into from
Aug 10, 2023

Conversation

markdalgleish
Copy link
Member

@markdalgleish markdalgleish commented Aug 10, 2023

Fixes #167

This fixes some longstanding issues with hydration errors and missing styles when navigating to/from error routes. I've also updated this example to use React 18 to show that it now works with stricter hydration.

Related issue: remix-run/remix#1136

styled-components/app/routes/__boundary/$.tsx Outdated Show resolved Hide resolved
styled-components/app/entry.client.tsx Outdated Show resolved Hide resolved
@markdalgleish markdalgleish merged commit 7f2d028 into main Aug 10, 2023
1 check passed
@markdalgleish markdalgleish deleted the markdalgleish/fix-styled-components branch August 10, 2023 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

No "working" styled-components example
2 participants