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

Triggering Undefined #86

Closed siebevd closed 7 years ago

siebevd commented 8 years ago

I noticed that you can trigger an 'undefined' event on the store which is. Maybe it should throw an error when you are trying to do that?

arqex commented 7 years ago

Hey @siebevd sorry for the late late reply. It's up to the developer the event that want to trigger, no restrictions on that.