-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use SSR rendered as initial html for runtime hydration test #4444
Use SSR rendered as initial html for runtime hydration test #4444
Conversation
@Conduitry I'm thinking about this PR, should we test for both:
|
Yeah I think that makes sense to run the hydration tests starting with both the SSR output and from an empty document. |
wow.. finally circling back to this PR! okay. let me tidy up the PR for that. |
83fb842
to
b629ae4
Compare
@Conduitry updated the PR! |
b629ae4
to
3707b9a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great. Thank you so much! 😄
If I put the change from #6204 back in then I get more test failures than I can count, so this makes me much more optimistic about our ability to make hydration improvements
test/runtime/samples/attribute-boolean-indeterminate/_config.js
Outdated
Show resolved
Hide resolved
efac66e
to
841137a
Compare
When running runtime (hydration) test, we are expecting the component to create the DOM while failing to claim elements from HTML.
This may fail to surface bugs such as hydrated DOM different from client rendered DOM.
Fixes:
HtmlTag
elementNot fixed for now:
HtmlTag
in head