Skip to content

Conversation

Rich-Harris
Copy link
Member

alternative to #1272 — rather than cluttering files with <svelte:options>, I think it's reasonable to opt into runes mode for the duration of the tutorial. It does mean that the 'before' code in a case like https://svelte.dev/tutorial/svelte/universal-reactivity would behave differently if pasted into a project locally, but it serves the same pedagogical goal, and anticipates a future time in which everything is runes mode.

@Rich-Harris Rich-Harris linked an issue Apr 8, 2025 that may be closed by this pull request
@Rich-Harris Rich-Harris merged commit 855e667 into main Apr 8, 2025
4 checks passed
@Rich-Harris Rich-Harris deleted the tutorial-runes branch April 8, 2025 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Svelte Tutorial Universal State updating without $state

1 participant