baobab icon indicating copy to clipboard operation
baobab copied to clipboard

JavaScript & TypeScript persistent and optionally immutable data tree with cursors.

Results 50 baobab issues
Sort by recently updated
recently updated
newest added

Hello @Yomguithereal! I get some silence from cursors when make some crazy monkey tree. ``` js var Baobab = require('baobab'); var _ = require('lodash'); var tree = new Baobab({ branch:...

bug
enhancement

In example https://github.com/Yomguithereal/baobab#events it says that both `'users'` and `['users', 'john']` cursors will be notified if John's firstname is changed. Is there a way to notify `['users', 'john']` only and...

My `validate` throws an error when attempting to assign the value `2` to the `foo` leaf. Since I didn't set `validationBehavior` to `notify`, when attempting such an assignment, an error...

bug

Currently, i have a map which stores info about many thousands of images. The code path is generic, so that i can respond to HDD events, or a scan. But...

discussion

In production we turn off immutability for performance and I'm wondering if calls to `cursor.deepClone()` should/could be a no-op? The original intent behind `deepClone` was to get the object back...

question

like [redux-devtools](https://github.com/gaearon/redux-devtools)

enhancement

Consider the following: ``` javascript let tree = new Baobab({ foo: { bam: 123 }, bar: monkey(['foo'], identity) }) tree.select('bar').on('update', e => { e.target.actualPathThatChanged // ['foo', 'bam'] e.target.path // 'bar'...

question

Hi there, is there something like `https://github.com/intelie/immutable-js-patch` for Baobab?

enhancement

I really must be missing something, maybe someone can clue me in. Here is what I mean: ``` javascript var a = new Baobab({ b: 1 }) var c =...

question

Oh i spend so much time thinking about the title for this issue. Let me show you an example so it will explain it better. Let's assume that i have...

question