f / delorean

An Agnostic, Complete Flux Architecture Framework
749 stars 40 forks source link

Add a trigger mixin #95

Closed darcyadams closed 8 years ago

darcyadams commented 8 years ago

this adds a new mixin to DeLorean.Flux.mixins called trigger.

Over time my team has found cases where it's useful to trigger changes in flux stores, but the component itself does not (and should not) re-render when the store changes. This is because a parent component is already watching changes, and will send it down props when it re-renders.

No breaking changes here. No existing code altered.

@f or @tommoor - not sure if either of you still use or care about this repo. But if I don't here objections in the next day or so, I'm gonna merge and publish.

darcyadams commented 8 years ago

FYI, merging tomorrow if I don't hear from anyone.