vue-query
vuex-orm
Our great sponsors
vue-query | vuex-orm | |
---|---|---|
16 | 10 | |
1,091 | 2,363 | |
- | -0.6% | |
1.7 | 0.0 | |
10 months 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.
vue-query
-
What is useQuery (React Query) with Example - Developer Diary
I started using the Vue port of this recently, VueQuery. Once you understand that this replaces the need for a store (for data at least) then everything starts falling into place and its really easy to implement caching, infinite scrolling and other cool endpoint stuff.
-
Data Fetching in Vue
I use vue-query and would recommend it.
-
Having trouble understanding how to use Vuex
For server-side state I find something like https://github.com/DamianOsipiuk/vue-query to be nicer than Vuex, and then you can reserve Vuex for purely client-side state
-
Library for server state management
I think you are looking for https://github.com/DamianOsipiuk/vue-query It uses react-query/core under the hood.
-
Nuxt noobie: Is everything done server side ? Can I cache indefinitely until webhook ?
Are you looking for this? https://github.com/DamianOsipiuk/vue-query
-
Widget Driven Development
React-Query, SWR, Redux Toolkit Query, Vue Query for RESTful APIs
-
How can I do it better? API Calls & loading state in Vuex
Check out swrv or vue-query, they do this for you. One or two people from the vuex core team work on swrv.
-
State Management: Separation of Concerns
React Query is React specific, but its core was fully separated from React and it can be used to build solutions for other frameworks as well. Such solutions have already begun to emerge. For example, Vue Query.
- Fetch, cache and update data in your Vue 2/3 apps without touching any global state
-
Vuejs 2.6 / Apollo Reactive?
Hey, might give https://vue-query.vercel.app/ a try soon
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?
react-query - 🤖 Powerful asynchronous state management, server-state utilities and data fetching for TS/JS, React, Solid, Svelte and Vue. [Moved to: https://github.com/TanStack/query]
pinia - 🍍 Intuitive, type safe, light and flexible Store for Vue using the composition api with DevTools support
swrv - Stale-while-revalidate data fetching for Vue
vuefire - 🔥 Firebase bindings for Vue.js
SWR - React Hooks for Data Fetching
vuex-persistedstate - 💾 Persist and rehydrate your Vuex state between page reloads.
zustand - 🐻 Bear necessities for state management in React
redux-orm - NOT MAINTAINED – A small, simple and immutable ORM to manage relational data in your Redux store.
jsonapi-vuex - Use a JSONAPI api with a Vuex store, with data restructuring/normalization.
vuex-class - Binding helpers for Vuex and vue-class-component
react-hook-form - 📋 React Hooks for form state management and validation (Web + React Native)
vuex-typed-modules - 🧰 A VueX wrapper to fully type your modules without boilerplate!