Hacker News new | past | comments | ask | show | jobs | submit login

I'd suggest starting with the React docs:

https://facebook.github.io/react/docs/why-react.html

And once you understand React you can dive straight into the Redux docs:

http://redux.js.org/index.html

I found it useful to actually read the Redux docs page-by-page (at least the introduction and basics) but it also links to some tutorials.

I actually had to read the basics and advanced sections several times before it fully clicked. It helps if you don't expect Redux to be super complex -- like React it does just one thing: manage your state by responding to actions. If React is the V in your MVC, Redux is the M.




what will be the "best C" then? any recommendations?


Usually some router -- typically react-router -- and a tiny bit of glue code. That's where the MVC analogy breaks down, to be honest.


The C (Controller) is your own code, that controls your logic/needs.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: