arqex / freezer

A tree data structure that emits events on updates, even if the modification is triggered by one of the leaves, making it easier to think in a reactive way.
MIT License
1.28k stars 56 forks source link

Update README to include using trigger with promises. #102

Closed YPCrumble closed 7 years ago

YPCrumble commented 7 years ago

@arqex thanks for your help with #101 - that's exactly what I needed.

In case it's helpful to others after me, I thought to add this quick example to the docs. Feel free to close if you think it's just basic JS knowledge vs. being helpful to the library.

Thanks again for building Freezer and all your help!

Fixes #101