Comments (1)
Turns out that there wasn't really much to change after all. By making the binding observable lazy, we make sure it is only ever computed (and its dependencies reevaluated) when we need to. Thus, we just need to delay that to the animation frame (using subscribe).
I'm leaving this open to expand it to the foreach binding where we need to buffer the changes of the ObservableList.
from jidejs.
Related Issues (20)
- Fix jsdoc HOT 1
- jidejs/base/Util.isElement throws exception when passed non-object HOT 1
- "foreach" binding doesn't work with arrays of primitives
- Skin.queryComponent never resolves if element has not been upgraded yet
- Promises are never fulfilled unless they are already resolved
- ObservableProperty.install generates incorrect dispose method
- Add Observable.fromPromise method
- Support Browserify even when using Templates HOT 2
- Add support for asynchronous computed Observable HOT 1
- Add Guide for usage with Browserify
- Restructure Developer Guide HOT 2
- Improve API Documentation generation
- Improve API Documentation
- Analyse performance HOT 1
- Exclude unneccesary files from npm
- Add minimal introduction to require.js/AMD to the guide
- Mail Demo: Fix icon alignment in IE11
- Website: Minification breaks some dependencies
- Website does not work. 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 jidejs.