Skip to content
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

Disable legacy mode in the tutorial #1234

Closed
sacrosanctic opened this issue Mar 29, 2025 · 5 comments
Closed

Disable legacy mode in the tutorial #1234

sacrosanctic opened this issue Mar 29, 2025 · 5 comments

Comments

@sacrosanctic
Copy link
Contributor

sacrosanctic commented Mar 29, 2025

New users are confused that their state is still reactive without $state.

@seantiz
Copy link

seantiz commented Apr 7, 2025

@brunnerh
Copy link
Member

brunnerh commented Apr 7, 2025

I do not think we need this as a separate issue. Suggestions can be left at the existing one.
(We also do not really need any more "evidence", the same thing has been reported multiple times by now.)

@brunnerh brunnerh closed this as completed Apr 7, 2025
@sacrosanctic
Copy link
Contributor Author

@brunnerh I’d say this is more of a feature request, while that’s a bug report. But I get the need to keep things consolidated. Can you rename #1229 to reflect the broader scope?

@brunnerh
Copy link
Member

brunnerh commented Apr 7, 2025

I would prefer to keep it a plain bug report and leave it to the maintainers to decide what to do with it.

Disabling legacy mode would be one way of dealing with it, but it has its own downsides. As long as legacy mode exists, it can have unexpected side effects when it activates by accident, so hiding it entirely may not be the best approach. I guess it would be fine if legacy mode (and its absence from the tutorial) is at least explained early on.

@sacrosanctic
Copy link
Contributor Author

I think we can find a compromise by explicitly declaring rune mode as shown here.

https://www.sveltepatterns.dev/how-to-force-rune-mode#per-component

And we only need to add this on specific tutorials where this is likely to happen. I think there's only 1.

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

No branches or pull requests

3 participants