note to self

pull/12335/head
Rich Harris 2 years ago
parent 2486b953d8
commit 0343fc3e8b

@ -158,6 +158,9 @@ export function hydrate(component, options) {
}, false);
} catch (error) {
if (error === HYDRATION_ERROR) {
// TODO it's possible for event listeners to have been added and
// not removed, e.g. with `<svelte:window>` or `<svelte:document>`
if (options.recover === false) {
e.hydration_failed();
}

Loading…
Cancel
Save