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

Remix + Styled Components practicably not production ready #5159

Closed
Xiphe opened this issue Jan 20, 2023 · 1 comment
Closed

Remix + Styled Components practicably not production ready #5159

Xiphe opened this issue Jan 20, 2023 · 1 comment

Comments

@Xiphe
Copy link

Xiphe commented Jan 20, 2023

What version of Remix are you using?

v1.11.0

Steps to Reproduce

This is not per-se a remix bug but a conceptual incompatibility between apps that manage the whole document (like remix) and styled-components (at the current state).

I therefore opened an issue on their side: styled-components/styled-components#3924 including steps to reproduce.

I'm opening this issue here to raise awareness. Maybe of the team want's to jump on it or maybe you have another idea how to work around it.

Expected Behavior

Since hydration errors can be randomly introduced by any browser extension my app has to be able to fully recover from those.

Actual Behavior

The problem is that when any hydration error happens in production ALL styled-component styles are just gone 🕳️

@machour
Copy link
Collaborator

machour commented Jan 20, 2023

Closing as duplicate of #5144 which provides more details 👍🏼

@machour machour closed this as not planned Won't fix, can't repro, duplicate, stale Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants