Comments (2)
In worst case will it end up that the whole database is loaded into memory of the browser, or do I need to handle switch between different views and need to reload the data from the server ?
Vuex is a global state management library. Anything you add to global state will be in memory until it is withdrawn. Since Vuex ORM supplements Vuex, any data you add to it will of course be added to the global state. Of course, as with Vuex, you're free to add/remove data from global state as you please and whatever works for your application. Bear in mind, you'd need a substantial amount of data for memory to be a cause for concern. I wouldn't overthink it.
The plan is to use vuex-orm-next + the axios plugin.
If you're referring to the plugin-axios-next for Vuex ORM, I would recommend reading this issue.
from vuex-orm-next.
Closing due to inactivity. Please open another issue if there's anything!
from vuex-orm-next.
Related Issues (20)
- Lazy loading after draft 15 HOT 4
- Is there any plan about pinia? HOT 5
- Mutators?
- VueX getter caching in combination with VueX-ORM
- Creating a models collection
- model.$entity is not a function HOT 3
- Alpha release HOT 7
- Uncaught TypeError: Cannot read properties of undefined (reading 'data')
- Is this abandoned? HOT 2
- Inserting Data With Default Values HOT 10
- Rethinking a way to handle API response HOT 5
- Cannot find module `'@/database/Database'`
- Model `$delete` method should be synchronous
- Error in code example on docs for one-to-many inverse relationship HOT 4
- Has Many By relation not working HOT 2
- Add MorphOne relationship
- Loading all relationships on a Model HOT 5
- Stricter field type, and nullable by default HOT 2
- Throw error when trying to access unloaded relationship
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vuex-orm-next.