Skip to content

mobmad/ractive-object-observe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ractive-object-observe

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:

Enabling Object.observe in Chrome

  1. Go to chrome://flags/
  2. Enable Enable Experimental JavaScript
  3. Restart Chrome

Demo and usage

See the demo

Licence

MIT

About

Experimental Object.observe support for Ractive

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published