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.
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
It would be nice if these worked...
<script> let numbers = $state(new Set([1, 2, 3])); </script> <button onclick={() => numbers.add(numbers.size + 1}>add</button> <button onclick={() => numbers.clear()}>clear</button> <p>{numbers.size}</p> <p>{[...numbers].join(', ')}</p> {#each numbers as n}<p>{n}</p></each}
...and the same for Map.
Map
Intercept method gets on proxied maps/sets
Subclasses. Yuck
nice to have
The text was updated successfully, but these errors were encountered:
I think it's meant to say
let numbers = $state(new Set([1, 2, 3]));
(just adding this note so nobody is confused when finding this issue :) )
Sorry, something went wrong.
oops, good catch 😆 fixed
We're going to be doing #10263.
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Describe the problem
It would be nice if these worked...
...and the same for
Map
.Describe the proposed solution
Intercept method gets on proxied maps/sets
Alternatives considered
Subclasses. Yuck
Importance
nice to have
The text was updated successfully, but these errors were encountered: