We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60aee28 commit 265e3f3Copy full SHA for 265e3f3
packages/svelte/src/internal/server/dev.js
@@ -27,8 +27,7 @@ let parent = null;
27
function error_on_client(payload, message) {
28
message =
29
`${message}\n\n` +
30
- 'Ensure your components render valid HTML as the browser will try to repair invalid HTML, ' +
31
- 'which may result in content being shifted around and will likely result in a hydration mismatch.';
+ 'This can cause content to shift around as the browser repairs the HTML, and will likely result in a `hydration_mismatch` warning.';
32
// eslint-disable-next-line no-console
33
console.error(message);
34
payload.head.out += `<script>console.error(${JSON.stringify(message)})</script>`;
0 commit comments