3 ms·
When I look at the docs and blog posts about Flux, and React, my brain goes.. What did you do to get your head around it, if the docs are not so accessible? Ju
by jlees 12y ago
When I look at the docs and blog posts about Flux, and React, my brain goes..
What did you do to get your head around it, if the docs are not so accessible? Just build stuff until it the pieces start to fall into place?
- jcreamer 12y agoI built a few small things and these examples really helped... https://github.com/facebook/flux/tree/master/examples/ https://github.com/facebook/flux/tree/master/examples/
- aggronn 12y agoI think reading through Flux framework documentations (marty's for instance) helps a lot. They do some abstracting on top and let you avoid some more in-depth questions about how to implement framework level features. They offer you some classes, and you just implement the classes to model the high level ideas of Flux.
- danesparza 12y ago" Just build stuff until it the pieces start to fall into place?" That's exactly what I had to do. It's much easier to understand WHY certain parts of Flux were put in place once you start to use them in a larger app. Deconstruct one of the Facebook examples (I'd recommend the todo app) and see how data is passed around. I had several light-bulb moments doing this. Also: It helps to understand commonJS and a bit of node -- specifically what they use Browserify for.