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
... and if showA is different on the client vs the server, then this should produce different lwc-*-host classes in the HTML versus the vdom.
With #4865 we essentially ignore the server's host scope token, so you will not see a hydration mismatch in the above case because we simply ignore the lwc-*-host given by the server.
Instead of ignoring the host scope token, we should truly validate it in the server vs the client's output.
Say you have two templates:
If you use a dynamic
render()
:... and if
showA
is different on the client vs the server, then this should produce differentlwc-*-host
classes in the HTML versus the vdom.With #4865 we essentially ignore the server's host scope token, so you will not see a hydration mismatch in the above case because we simply ignore the
lwc-*-host
given by the server.Instead of ignoring the host scope token, we should truly validate it in the server vs the client's output.
Repro: 882ef03
The text was updated successfully, but these errors were encountered: