You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error will still log no matter what, this is how React works. Is the app broken afterwards though? It should fall back to client-side rendering to fix the hydration error.
You need to add suppressHydrationWarning to the element that's being modified by a browser extension.
That will remove the warning. Usually it doesn't actually have an affect on things outside of the ugly error.
functionRootDocument({ children }: {children: React.ReactNode}){return(<htmllang="en"><head><HeadContent/></head>vvvvvvvvvvvvvvvvvvvvvvv<bodyclassName="antialiased"suppressHydrationWarning>{children}<Scripts/></body></html>);}
Which project does this relate to?
Start
Describe the bug
A hydration error arises when users activate extensions that modify the HTML, like Grammarly.
There is a tweet from @tannerlinsley explaining how he solved this.
Shouldn't this error already be handled by Tanstack start? The app styles break when this error occurs
Thanks
Your Example Website or App
https://github.com/YerayMnopi/tanstack-start-browser-extension-hydration-error
Steps to Reproduce the Bug or Issue
Expected behavior
As a user, I expect to be able to use browser extensions on apps that use tantstack start.
Screenshots or Videos
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: