News for hackers. Stuff that matters.
Re:What the Flux? by speg on Tuesday January 27, 2015 @12:48PM (#8954492)
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.
Re:What the Flux? by reczy on Tuesday January 27, 2015 @01:26PM (#8954712)
I 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/ [2] https://news.ycombinator.com/item?id=8923053

Re:What the Flux? by jordonwii on Tuesday January 27, 2015 @07:17PM (#8957144)
+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.
Re:What the Flux? by chadpaulson on Tuesday January 27, 2015 @12:55PM (#8954547)
I suggest having a look at Alt. https://github.com/goatslacker/alt