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 ff2e489 commit 05987bcCopy full SHA for 05987bc
packages/svelte/src/internal/client/dev/inspect.js
@@ -37,6 +37,9 @@ export function inspect(get_value, inspector = console.log) {
37
38
render_effect(() => {
39
inspect_fn = fn;
40
+ // TODO ideally we'd use `snapshot` here instead of `deep_read`, and pass
41
+ // the result to `fn` on the initial run, but it doesn't work because
42
+ // of some weird (and possibly buggy?) behaviour around `batch_inspect`
43
deep_read(get_value());
44
inspect_fn = null;
45
0 commit comments