h6s icon indicating copy to clipboard operation
h6s copied to clipboard

Table IDs are different during SSR and on the client

Open brandonpittman opened this issue 3 years ago • 1 comments

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 avatar Jul 01 '22 00:07 brandonpittman

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.

jbee37142 avatar Jul 15 '22 14:07 jbee37142