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
With the following nodes in a view! macro the hydration will panic after receiving SSR.
<ActionFormaction=send_string><InnerComponent/>
<p>"text"</p> //commenting this or any other line within the actionform prevents ssr/csr mismatch panic, but there are still warnings
<inputtype="text" name="input2"/>
<p><inputtype="text" name="input3"/></p><p><inputtype="text" name="input4"/></p></ActionForm>
Starting with all lines within the ActionForm commented out: uncommenting one line at a time after the InnerComponent adds a hydration warning with each uncommented line. With all lines uncommented the hydration panics.
The InnerComponent implements an input field within a Suspense.
See this repository for reproducing this issue.
Specifically lines 44-48 of app.rs
With the following nodes in a
view!
macro the hydration will panic after receiving SSR.Starting with all lines within the
ActionForm
commented out: uncommenting one line at a time after theInnerComponent
adds a hydration warning with each uncommented line. With all lines uncommented the hydration panics.The
InnerComponent
implements an input field within aSuspense
.If this is the only node uncommented there is no hydration error.
The text was updated successfully, but these errors were encountered: