Closed
Description
$: ({ foo } = bar);
is totally valid & functional in svelte reactive statements. We use it heavily for pulling single fields off of object stores to limit the amount of redrawing we do.
Here's an example of it running in the svelte REPL:
https://svelte.dev/repl/ccaace4f16ca4ea2a77616192ab99e1a?version=3.48.0
But when I run this parser with the base ESLint no-undef
rule applied it yells at me about the destructured variables not existing.
Metadata
Metadata
Assignees
Labels
No labels