An object-observe adapter for ractive.
By using Object.observe, we'll get notifications when an object change. This renders Backbone models/collections and Ractive.set/update obsolete - instead we can simply use a plain old JavaScript object!
Note: Object.observe is scheduled for a future version of JavaScript and is not available in browsers for mainstream usage yet. However, get a glimpse of the future by enabling it in Chrome:
- Go to chrome://flags/
- Enable
Enable Experimental JavaScript
- Restart Chrome
See the demo
MIT