You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The components in this exercise are all importing the counter object from shared.js. But it’s a normal object, and as such nothing happens when you click the buttons.
However, when you click the buttons in the unedited view, the counters are incremented.
I'm not sure how this should be fixed but it seems wrong.
The text was updated successfully, but these errors were encountered:
I'm surprised that the counters work, too. Doesn't match my mental model of Svelte. I'd be happy to hear a quick explanation if it's not too much trouble.
https://svelte.dev/tutorial/svelte/universal-reactivity
The text states:
However, when you click the buttons in the unedited view, the counters are incremented.
I'm not sure how this should be fixed but it seems wrong.
The text was updated successfully, but these errors were encountered: