|
|
|
|
|
by lrichardson
4167 days ago
|
|
Funny... I actually created some store mixins to do the exact same thing. I've done it slightly different than you... rather than using `mergeDeep` in `this.setState`, I created some other methods such as `this.setStateAtPath(path, value)` and `this.mergeState` (the latter would use `mergeDeep`) I'm going to submit a PR to allow for store mixins to be a little more 1st-class: https://github.com/kjda/ReactFlux/issues/4 |
|