Replies: 1 comment 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.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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