Skip to content
Christian Alfoni edited this page Mar 13, 2015 · 4 revisions
var Baobab = require('baobab');

var tree = new Baobab({
  user: {
    name: 'Bob'
  }
});

tree.select('user').set('name', 'Danny');

// On update event
tree.select('user').get();
>>> { name: 'Danny' }