fix: tune hydrate mismatch logic to catch more cases (#12612)

pull/12615/head
Dominic Gannaway 1 year ago committed by GitHub
parent c66d2cfcc1
commit 993fff0045
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -133,6 +133,7 @@ export function hydrate(component, options) {
const instance = _mount(component, { ...options, anchor });
if (
hydrate_node === null ||
hydrate_node.nodeType !== 8 ||
/** @type {Comment} */ (hydrate_node).data !== HYDRATION_END
) {

Loading…
Cancel
Save