Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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-cheat... )

TL;DR for the React/Flux team if you read this: please update the Todo tutorial!



I 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-understand...


I 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.



Reflux 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


The 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.


I 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.


This is excellent - clear, concise and covers the main points. Thank you.


You're welcome!




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: