meteor-space / ui

Pattern-agnostic base UI package to gain control over your Meteor UI
MIT License
121 stars 15 forks source link

Using store.setState(key, value) reruns the reactive context when the state changes. #20

Closed ghost closed 9 years ago

ghost commented 9 years ago

I expect that store.setState(key, value) does not establish a reactive dependency to the state. I think you can wrap https://github.com/CodeAdventure/space-ui/blob/master/source/store.coffee#L29 with Tracker.nonreactive to fix this.

DominikGuzei commented 9 years ago

Thanks for the bug report – this definitely should be fixed!