Replies: 2 comments 1 reply
-
|
Thanks for the detailed post @M-Shrief! I think this sounds like a great thing you could write a blog post about to start with describing your experience and how you used this package. We chose to document Nanostores because it works across frameworks and we can’t necessarily have detailed docs for every framework ecosystem in Astro’s docs, but we’re always happy to link to community resources like blog posts. |
Beta Was this translation helpful? Give feedback.
-
|
We're closing stale and outdated discussion to keep only the discussions still relevant to the current project version and/or the current docs state. It seems to be resolved, so I'm closing this. If you think this is a mistake and that this discussion should remain open, please feel free to ping me, I'll take a second look at it. Thank your for your contribution! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Ht, I want to recommend @vue/reactivity package as another way to manage state with Astro:
package's links:
It has very neat & simple interface:
To install:
Examples:
Then in .astro file:
I'm currently migrating my Vuejs SPA to Astro, check repo, I'm using @vue/reactivity & nanostores, I can use them exchangeably with ease. I made two examples of the same store (src/stores/poets.composition.ts with @vue/reactivity, src/stores/poets.nano.ts for nanostores)
Some perceivable benefits of applying this recommendation:
PS: that's my first discussion, and I'm a junior, so I hope I've done it well, and as always take my words with a grain of salt.
Beta Was this translation helpful? Give feedback.
All reactions