Re:Svelte 5: Runes
by bafe on Wednesday September 20, 2023 @04:04PM
(#37589386)
Indeed, seeing hooks as closures helped me to understand how they are use for state management. It's really a "poor man's object" with all the advantages of FP in terms of reasoning about state changes, lack of side effects etc.
[ Parent
| on HN ]
There are no comments on this comment yet.