Comment Comment by tln I recently wrote a game in Svelte 4, and went through a transition from using the <script>/$ reactivity to stores. This looks MUCH nicer to deal with.Their examples seem to be missing some imports? Trying to use $state as shown with [email protected] gives "ReferenceError: state is not defined". parent tln 3 years ago
Their examples seem to be missing some imports? Trying to use $state as shown with [email protected] gives "ReferenceError: state is not defined".