7 ms·
I've been using React for a while and love it. Every time I tried to look at Flux I got put off by something or other. I get the main concept, Actions coming fr
by speg 12y ago
I've been using React for a while and love it. Every time I tried to look at Flux I got put off by something or other. I get the main concept, Actions coming from your React Views are Dispatched. But the first tutorial starts with writing your own dispatcher from scratch which I think was the thing that threw me. Flux.js does have a dispatcher you can use out of the box, so why not just use that when starting off.
- chadpaulson 12y agoI suggest having a look at Alt. https://github.com/goatslacker/alt https://github.com/goatslacker/alt
- reczy 12y agoI started using marty.js [1] after it popped up on HN a few days ago [2]. The documentation is outstanding and includes guides/explanations of the architecture beyond just an api reference. [1] http://martyjs.org/ http://martyjs.org/ [2] https://news.ycombinator.com/item?id=8923053 https://news.ycombinator.com/item?id=8923053
- jordonwii 12y ago+1 for Marty. I'd never used Flux before, but had made some small apps in React and felt pretty comfortable with it. The Marty docs have a particularly good description (with small examples) of what each piece of the Flux model is supposed to do. After following those and making a toy project, I actually felt like I'd wrapped my head around the basics of Flux+React pretty firmly.