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

Table IDs are different during SSR and on the client #183

Open
brandonpittman opened this issue Jul 1, 2022 · 1 comment
Open

Table IDs are different during SSR and on the client #183

brandonpittman opened this issue Jul 1, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@brandonpittman
Copy link

Description

When using table with Remix, I get console errors about table-xxx IDs not being the same.

Current

Warning: Prop `id` did not match. Server: "table-45" Client: "table-13"
tr
thead
table
div
section
section
main

Expected

I would expect these props not to change after render.

@brandonpittman brandonpittman added the bug Something isn't working label Jul 1, 2022
@JaeYeopHan
Copy link
Collaborator

thanks @brandonpittman
i think we need useId 😿

I'll try my best to get it done as soon as possible, but it may be later than expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants