From 6b7f1162adac0e9c86fa58a4fce4acff5843eb60 Mon Sep 17 00:00:00 2001 From: Simon H <5968653+dummdidumm@users.noreply.github.com> Date: Sat, 6 Apr 2024 14:53:35 +0100 Subject: [PATCH] docs: note walk breaking change (#11078) closes #10734 --- .../routes/docs/content/03-appendix/02-breaking-changes.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sites/svelte-5-preview/src/routes/docs/content/03-appendix/02-breaking-changes.md b/sites/svelte-5-preview/src/routes/docs/content/03-appendix/02-breaking-changes.md index 3edaac83d6..25547f72ab 100644 --- a/sites/svelte-5-preview/src/routes/docs/content/03-appendix/02-breaking-changes.md +++ b/sites/svelte-5-preview/src/routes/docs/content/03-appendix/02-breaking-changes.md @@ -195,3 +195,7 @@ In Svelte 4, `null` and `undefined` were printed as the corresponding string. In ### Bindings now react to form resets Previously, bindings did not take into account `reset` event of forms, and therefore values could get out of sync with the DOM. Svelte 5 fixes this by placing a `reset` listener on the document and invoking bindings where necessary. + +### `walk` not longer exported + +`svelte/compiler` reexported `walk` from `estree-walker` for convenience. This is no longer true in Svelte 5, import it directly from that package instead in case you need it.