Flashes Home Search Notifications Sign in Post
Matt DeKok @dekok.dev · Mar 13
1 / 2

I decided to create a stateful class instead. Works better that way with no warnings.

1 likes 2 replies

?

Replies

{🧪} +paoloricciuti.svelte · Mar 13

Or like you did a class/proxy

{🧪} +paoloricciuti.svelte · Mar 13

Yeah the problem with passing the state directly into the function is that it will not be reactive...you need to pass an object with a getter and a setter or a function

Legal

Privacy Policy Terms and Conditions

Contact

FAQs Feedback

Follow

Bluesky Instagram Threads
Flashes for Bluesky Get it on the App Store

Feeds

  • Global
  • Trending
  • Blacksky Images
  • Photography
  • Discover
Browse all feeds
Feedback Ideas, bugs, and what ships next
Privacy Policy Terms and Conditions FAQs Bluesky Instagram Threads
Get it on the App Store