DEV Community

loading...

Discussion on: ⏰ Svelte Crash Course (in 10 pics!)

Collapse
cameronapak profile image
cameronapak

Thanks for creating this post! Reactive Statements remind me of the useEffect hook in React

Collapse
hexrcs profile image
Xiaoru Li 🇨🇳🇩🇪 Author

Yes! But if you are using it to set derived states, you don't have to specify the dependencies manually.

Forem Open with the Forem app