pinia-orm
vuex-orm
pinia-orm | vuex-orm | |
---|---|---|
5 | 10 | |
420 | 2,363 | |
- | 0.0% | |
9.4 | 0.0 | |
5 days ago | over 1 year ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pinia-orm
-
Pinia Best Practice for Segmenting Child Objects and Dependencies
Let pinia-orm handle the relations. This is essentially option 2 above, but someone else wrote the code so it contains fewer bugs.
-
How to structure data from API in pinia
I used pinia-orm for a project where I needed to deal with relational data and it simplified things. May I ask why you'd prefer not to use an ORM?
-
Any advise when starting jumping in Vuex
If you use a standard Pinia store, you can use plug-ins. For example, you can use pinia-plugin-persistedstate to let the user start each new session where they left off. Or you can use pinia-orm to simplify handling large amounts of tabular data.
-
pinia + vuex-orm = pinia-orm
I really upgraded everything. The package, the tests and the docs. All shiny again :) You can visit the package here
- Setting up pinia orm with Vue2
vuex-orm
-
On-demand reactivity - Building live reports
You're absolutely right. I should have mentionned that the app uses Vuex-ORM to handle and query the data. The actual building of the reports contains various calculations and is done off the main thread. The reports are then saved as a model in vuex-orm, this basicaly acts as a cache. The thing is I don't know when to invalidate the cache or not so everything is invalidated when a new data event is added. There's nothing reactive about it.
- Are you supposed to be doing things twice with Vuex?
-
How the Command pattern can save your offline-first app's ass
Most people try to have front-end state be a 1-1 mapping of the DB. One of the easiest way about it is to use a front-end "ORM" like vuex-orm.
-
Library for server state management
Not quite the same but Vuex ORM does a few of these things. Main similarity is helping to abstract your API calls out of each individual component. https://vuex-orm.org/
-
Modeling Data In Quasar Like A BOOOSS With VuexOrm
Most interactions with the store are done with VuexOrm, which gives us a gorgeous API. Stuff like this:
-
Need help using Vuex with SQLite3 (Node.js ?
In one lib: Vuex-Orm
-
The only two custom React hooks we ever use
Thanks for great comment! I have one question.
The biggest thing I miss in react ecosystem is decent redux ORM. https://vuex-orm.org is just so great for so many use cases (agree that it might an antipattern in many situations). Is there any chance that https://github.com/redux-orm/redux-orm, which was actually what inspired vuex-orm, would get more love from anyone to become an actively maintained library?
Thanks
-
Vuex ORM and persisting data on static Nuxt app
I know there is a package for persisting Vuex data via the local store but wondered if anyone knows this works with Vuex ORM.
-
should I reuse same store for multiple interface?
Sounds like you need this: https://vuex-orm.org/
-
Leggo my DAO! How to you manage your backend model?
could peep this https://github.com/vuex-orm/vuex-orm
What are some alternatives?
pinia-plugin-persistedstate-2 - [no longer maintained] Please use https://github.com/prazdevs/pinia-plugin-persistedstate instead.
pinia - 🍍 Intuitive, type safe, light and flexible Store for Vue using the composition api with DevTools support
vuex-orm-next - The next iteration of Vuex ORM.
vuefire - 🔥 Firebase bindings for Vue.js
pinia-plugin-persistedstate - 🍍 Configurable persistence and rehydration of Pinia stores.
vuex-persistedstate - 💾 Persist and rehydrate your Vuex state between page reloads.
pinia-shared-state - 🍍 Sync your Pinia state across browser tabs.
redux-orm - NOT MAINTAINED – A small, simple and immutable ORM to manage relational data in your Redux store.
pinia-undo - 🍍 Undo/Redo plugin for pinia.
vuex-class - Binding helpers for Vuex and vue-class-component
vue-supabase-tpa-demo - Third-Party Authentication (Github) demo Vue 3 + TypeScript + Pinia app using Supabase
vue-query - Hooks for fetching, caching and updating asynchronous data in Vue