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

This is great! We dove into React and Flux a few months ago and it took way too long to come to the realization that this flowchart puts together.

One of the big things I think a lot of React/Flux tutorials miss out on are the "Smart and Dumb" components. This was the missing "view controller" that I am used to with MVC and the flowchart illustrates it nicely.



I totally missed the concept of having high-level Controller-Views when I first started playing around with React. Just understanding the concept is only half the battle too; you have to have the self-control to keep lower-level components immutable using props and pass in the 'state' via the higher-level controller-views. Has anyone had experience with Flex and the Cairngorm Framework (from back in the day)? I find Flux borrows heavily from its design.




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

Search: