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

chakra-ui example has hydration issues #335

Open
dusty opened this issue Sep 1, 2023 · 2 comments · May be fixed by #424
Open

chakra-ui example has hydration issues #335

dusty opened this issue Sep 1, 2023 · 2 comments · May be fixed by #424
Assignees

Comments

@dusty
Copy link

dusty commented Sep 1, 2023

The chakra-ui documentation shows that one must use hydrate and renderToString instead of hydrateRoot and renderToPipeableStream because of emotion css.

https://chakra-ui.com/getting-started/remix-guide

At the bottom of their documentation page, it suggests the official remix example with a link to this repo and an embedded codesandbox.

However, it doesn't seem to work properly using the method here, you can see the background color disappears after client hydration.

2023-09-01 09 59 10

I changed it to use the chakra recommendations in the code sandbox and it works with those. Would a PR to match be desired here?

https://codesandbox.io/p/sandbox/objective-stitch-ymvhrv

@MichaelDeBoey
Copy link
Member

@dusty We would welcome a PR to fix any of the community examples 👍

@lynxx007
Copy link

lynxx007 commented Feb 5, 2024

Hallo, is there any update on this? otherwise I want to contribute

@Lon4ry Lon4ry linked a pull request Feb 11, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants