Bill Fisher
Bill Fisher
> Is that fair, or are you thinking something more along the lines of the pie chart components are actually their own controller-views? That feels really ugly to me. Yes,...
Since we haven't continued this in a while, I'm assuming we're okay to close this one.
Yeah that's a good idea. It would be nice to use the invariant module that is a dependency of the dispatcher for this. But I think we have not exposed...
Yes, sounds great. Really great idea. Looking forward to the pull request!
Answered in the pull request, but basically, I'm concerned that the dispatcher would need to know the structure of the payload.
@abergs Stores should not directly create actions. This will lead to a dispatch-within-a-dispatch problem and an unstable state. You can just make the async call to the web API directly...
^^^ nice! I hadn't seen that project of Ian's before. Thanks for that link.
The most important Flux data flow diagram is this: Action -> Dispatcher -> Store -> View The rest, while suggesting best practices, are really just implementation details. How data leaves...
Done. `bower install flux` will give you `bower_components/flux/dist/Flux.js`, which if you add to your page will give you a global `Flux` object. `Flux.dispatcher` is your dispatcher.
I've grown to prefer the reverse syntax of `NOUN_VERB`, like `TODO_SELECT`. This way, in an alphabetized list, all my `TODO` actions are together, and I generally want to sort on...