React.useId causes hydration errors
I'm on the latest commit of Tanstack Router and seem to be running into hydration errors with React.useId() - is anyone else facing the same problem? I'm noticing it with React Aria Components
3 Replies
foreign-sapphire•2y ago
Yep
Does it show in production?
other-emeraldOP•2y ago
Let me try a build and run it
Oh! Nope, it doesn't show in production
foreign-sapphire•2y ago
Yeah, if you happen to render even one thing differently between client and server, this can happen
TanStack.com has a few small discrepancies
So I see this error in dev too