-
Notifications
You must be signed in to change notification settings - Fork 6
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
Internal Svelte State #2
Comments
If anyone out there (in the universe) has ideas for this, would love more info on how to make this happen. |
Maybe try to monkey patch svelte/store. |
@stolinski I know it's kind of annoying but I made a simple store like this:
All you have to do is whenever you are adding a new store call the I haven't tried it yet because I had trouble with installing the package in my sveltekit project and I'm doing my own implementation, guiding myself from the implementation of levelupTutorials. Be careful with my implementation because I didn't add a check for if the store is in the Stores object, but feel free to use it and modify it as you need |
Instead of plugging state into Svelte Toy, have it be automatic.
The text was updated successfully, but these errors were encountered: