|
|
|
@ -167,7 +167,11 @@ export function hydrate(component, options) {
|
|
|
|
return instance;
|
|
|
|
return instance;
|
|
|
|
}, false);
|
|
|
|
}, false);
|
|
|
|
} catch (error) {
|
|
|
|
} catch (error) {
|
|
|
|
if (!hydrated && options.recover !== false && /** @type {Error} */ (error).message.includes('hydration_missing_marker_close')) {
|
|
|
|
if (
|
|
|
|
|
|
|
|
!hydrated &&
|
|
|
|
|
|
|
|
options.recover !== false &&
|
|
|
|
|
|
|
|
/** @type {Error} */ (error).message.includes('hydration_missing_marker_close')
|
|
|
|
|
|
|
|
) {
|
|
|
|
w.hydration_mismatch();
|
|
|
|
w.hydration_mismatch();
|
|
|
|
|
|
|
|
|
|
|
|
// If an error occured above, the operations might not yet have been initialised.
|
|
|
|
// If an error occured above, the operations might not yet have been initialised.
|
|
|
|
|