3 ms·
A bit off topic, but after studying React js and loving it I also started studying Flux. I found that the intros were a bit confusing, and needed to write a "vi
by danmaz74 11y ago
A bit off topic, but after studying React js and loving it I also started studying Flux. I found that the intros were a bit confusing, and needed to write a "visual cheatsheet" for my team (if interested you can find it here: http://danmaz74.me/2015/07/27/flux-architecture-visual-cheatsheet/ http://danmaz74.me/2015/07/27/flux-architecture-visual-cheat... )
TL;DR for the React/Flux team if you read this: please update the Todo tutorial!
- bluejekyll 11y agoI agree. I've been using react with reflux, reflux is an excellent implementation of the flux model. It makes it simple to wire global modals into actions which can trigger those from anywhere in the app. Also more on topic, I really like the material-ui project, and it's modals are quite nice.
- danmaz74 11y agoReflux is good, but I'm worried about how much they depart from the Flux architecture. What will happen if in the near future Facebook will release their own library? A lot of refactoring... PS somebody posted a link to my post, maybe it's better to continue there if you're interested in the discussion: https://news.ycombinator.com/item?id=9967220 https://news.ycombinator.com/item?id=9967220
- lukasm 11y agoFor the reference http://material-ui.com/#/components/dialog http://material-ui.com/#/components/dialog
- Sir_Cmpwn 11y agoI also just wrote a blog post about understanding Flux because I felt that the docs were insufficient: http://www.drewdevault.com/2015/07/20/A-practical-understanding-of-Flux.html http://www.drewdevault.com/2015/07/20/A-practical-understand...
- k__ 11y agoThe action creators where a real pain point for me. I'm coming from MVC where actions are the methods of controllers. But in Flux they are objects passed to the dispatcher and the functions who create them aren't actions, but actions creators. But I have to say, I got my first impression of React/Flux from a project that was already using it (Redux) in production with a big chunk of integration code around it.
- danmaz74 11y agoI initially found them a pain point because they weren't explained well - and because the name is pretty bad IMHO - but after all they're pretty simple.
- spion 11y agoThis is excellent - clear, concise and covers the main points. Thank you.
- danmaz74 11y agoYou're welcome!