Saltar al contenido principal
0

Por ahora, esta lección está en inglés.

Values that update the screen

A like button whose number never changes is a picture, not a button. $state tells Svelte which values can change, so the screen can follow them.