These are just three of the amazing properties of State-Tree MVC apps built with frameworks like:
Actually though, the most practical benefit of these frameworks is the fact that your model, view & controller code becomes purely functional; you push data in, you get data out. Such apps tend to either work or they don’t work, are easy to reason about, trivial to unit test, and robust beyond belief.
Here’s the quote that blew my mind:
Question: How many variables do you need in a Redux application?
Answer: One. The one inside the store.
Here are some amazing resources to get you up to speed:
- Live React: Hot Reloading with Time Travel (the conference talk about the workflow that led to Redux)
- Cerebral Introduction Video (an excellent account of the gradual evolution from vanilla MVC to State-Tree MVC, and the problems that were solved at each step)
- Full Stack Redux Tutorial (an awesome step-by-step tutorial culminating in the creation of a very impressive State-Tree MVC app)
and finally, some food for thought from the Cerebral web-site: