Skip to content

default to runes mode in tutorial #1273

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

Merged
merged 1 commit into from
Apr 8, 2025
Merged

default to runes mode in tutorial #1273

merged 1 commit into from
Apr 8, 2025

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