-
-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Svelte Tutorial Universal State updating without $state #1229
Comments
Jajajaja I was about to just literally post the same issue! |
The component is in legacy mode, so it works because it operates like in svelte 3/4. Very confusing, had the same issues in some REPLs too, because it defaults to legacy mode when no svelte 5 features are detected or not explicitly set to runes mode. |
@hanszoons Your reply could be a side note in the tutorial. |
Perhaps runes mode should be set by default on the tutorial? At least to not confuse beginners. The playground has a indicator telling you if it's in runes mode. |
Yeah stumbled upon this today as well. |
yeah they need to solve this i spend 3 days trying to understand what is the problem. |
https://svelte.dev/tutorial/svelte/universal-reactivity
In universal section, it says "But it’s a normal object, and as such nothing happens when you click the buttons.".
However, the buttons does, in fact, change when I click on them…
The text was updated successfully, but these errors were encountered: