You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't have an opinion on baking this into the library, but I will say I really like this pattern. Am going to put it into practice in some of my stores today. Nice idea and thanks for sharing!
I'm starting to lean towards adding a state to stores, though my requirements would be to have a way to do it with an immutable map. The best way would be to use a lib for immutable data structures, though this goes against having the library as dependency free as possible.
So for now, you can mixin this for yourself... or if anyone is kind enough, provide an npm/bower module for this.
This is what I'm doing for state in stores:
Then I use it like so in my Store:
But I'm totally new. So maybe I don't understand the architectural concerns or missed some state mixin already in Reflux.
If this is a good feature maybe absorb it into Reflux?
The text was updated successfully, but these errors were encountered: