-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
{@debug object}
doesn't fire when object.property
changes
#13687
Comments
The debug message is also useless since it only displays 'Proxy'... I think it could be fixed easily by using |
Does |
|
$inspect(foo).with((...args) => {
console.log(...args);
debugger;
}); |
It's not a breaking change per se, because it will work when state is updated as a whole. The question is whether or not |
In Svelte 4 Example : https://svelte.dev/repl/8248f009ac7946f9840fa6103f7d2568?version=4.2.19 This is a debugging tool, it should be as responsive as possible IMHO. |
yeah i think snapshotting is probably the right approach |
Describe the bug
Noticed this while updating the tutorial. This is a breaking change from 4 and makes
@debug
a bit useless, though I'm not sure if we should fix it or treat it as deprecatedReproduction
link
The text was updated successfully, but these errors were encountered: