ComputerGuy

Results 55 comments of ComputerGuy

I might add a runtime warning if you don't pass a proxyable value to a `$state` in a return statement, which should alleviate any confusion.

You might be interested in #15593, it adds the `{ property: $state(value) }` syntax

I agree, if you're trying to target an element you probably shouldn't rely on attributes (especially those that are only directives) Additionally, if you were to try to do this,...

I don't think that site is official, it's not found anywhere in @sveltejs's repositories.