4 ms·
So McFly is basically pure Facebook Flux. I even use their Dispatcher. What I'm doing is creating a helper factory to DRY-up some of the Stores and Actions boil
by thekenwheeler 12y ago
So McFly is basically pure Facebook Flux. I even use their Dispatcher. What I'm doing is creating a helper factory to DRY-up some of the Stores and Actions boilerplate code, because in the examples they are freeform and not instances of any object. So the answer to the question is essentially:
https://github.com/spoike/refluxjs#differences-with-flux https://github.com/spoike/refluxjs#differences-with-flux
- rymohr 12y agoDid you use reflux before writing McFly? I like reflux but I'm worried it may be leading me astray from the core principles that make the flux architecture so useful. It's one of those things you can't be sure of until the app grows complex enough to start running into edge cases (such as waitFor and the single dispatcher, separation of actions from action creators, keeping async code out of stores, etc).
- thekenwheeler 12y agoI did, and it's really cool, but I felt the same way. So I wanted to bridge the gap.