Comments (2)
This will have to be handled with care because angular-data does not wrap items in custom classes or depend on the use of getters and setters. Computed properties will have to be updated during dirty checking loops. Angular-data runs its own dirty checking loop whenever a digest loop is triggered on the $rootScope
. However, a digest loop triggered only on some child $scope
won't trigger angular-data's dirty check. This could result in unexpected behavior as the computed property could be out of date. Of course, the developer can manually trigger angular-data's digest loop with DS.digest()
, but I'd like to avoid developers' code being smattered with DS.digest
calls.
from js-data-angular.
Turns out, angular-data's hook into the $rootScope
's digest cycle seems pretty reliable. I don't think there will be a problem here.
from js-data-angular.
Related Issues (20)
- Random Bindalls HOT 4
- Better error reporting when forgetting to inject Angular service before loadRelations HOT 1
- Upgrading from 1.5 to 2.4 is causing some troubles HOT 3
- Memory leak on frequent updates HOT 4
- BindOne recomputing computed properties HOT 1
- How to use DSLocalForageAdapter HOT 4
- lastModified timestamp being checked by $watch before it's updated after a change
- js-data-angular requesting axios HOT 7
- jshint or standard? HOT 1
- Custom adapters don't work HOT 3
- Multiple parents isn't working
- Custom Adapters are merging with eachother HOT 2
- DS.defineResource is not a function HOT 5
- Cannot add params to Nested resources HOT 2
- Error: [$injector:unpr] Unknown provider: DSProvider <- DS <- Users <- UserServices HOT 1
- Deserialization Not working for custom actions. HOT 2
- Cannot Cache the data for js-data actions HOT 2
- JSData 3? HOT 2
- Guide links dead
- Upgrading to js-data 3.0 throws error HOT 2
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 js-data-angular.