Comments (2)
It's a state store. You're going to have a bad time trying to use redux as a document store, IMO. I think the examples use it as such as a matter of convenience.
Ideally one would use paginated responses from an endpoint, and update the state with that metadata. Saving all the records in the store(or simply in the browser) may quickly cause the app to become unresponsive while retrieving and modifying them.
I tend to use the state store as a pointer to locate the data that needs to be shown, for large datasets like product inventories, etc. You could store your current result set in a simplified state(id + name) for preloading, and even the current record if being modified, though.
from ngrx-store-localstorage.
@varghesep You can also pick and choose which slices of state you wish to sync. Maybe you have a large store but only need a small section to by synced with local storage, this library will aid you in this regard. 👍
from ngrx-store-localstorage.
Related Issues (20)
- Support Angular 13 HOT 8
- Get different properties by store
- Fix module resolution issue when importing action constants
- Rehydrating Feature Module using ngrx/entity HOT 2
- npm lib missing readme and license HOT 3
- Unable to save state to localStorage: DOMException: Failed to execute 'setItem' on 'Storage': Setting the value of 'tempState' exceeded the quota. HOT 3
- Persist reducer states under single key HOT 1
- Rehydration callback
- Angular 14 dependency update HOT 5
- Angular 14 deepmerge warning HOT 9
- Angular 15 support HOT 4
- How to exclude subkeys from ngrx-localstorage by angular service?
- Deserialization of JSON object stored as string fails due to date format.
- custom prefix storageKeySerializer based on app state property in feature metaReducer. HOT 2
- Angular 16 support HOT 6
- Upgrade to node v18 HOT 2
- Angular 17 support HOT 5
- What's version of ngrx-store-localstorage is compatible with angular 16? HOT 6
- Remove deepmerge dependecy to avoid optimalization bailouts HOT 1
- Angular 17 Standalone Components HOT 1
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 ngrx-store-localstorage.