redux@altschool
Redux
Redux is a battle tested, ubiquitous state management solution for the front-end in use by Facebook, Twitter, Reddit, and more. It pushes state management and mutation to well defined edges of an application rather than spreading state throughout components, controllers, and views.
Our intention with this document is not to teach Redux – there are many excellent resources out there already. We recommend starting with a few of these, getting some of the Redux concepts swimming around in your brain, then writing some code yourself. You could try writing a TodoMVC app, for instance. Here are some of the best resources we've found:
- Redux.js.org: Motivation
- Egghead: Getting Started With Redux
- LearnCode Academy: Redux Tutorial Series
- Egghead: Implementing Redux from Scratch
- You Might Not Need Redux
- Should I Put Form State Into Redux
Rather than teach Redux itself, this guide is intended to demonstrate how to implement a non-trivial feature in vishnu-frontend using our familiar container component pattern. It will also demonstrate how to convert an existing feature over to using Redux.
Let's start with answering the question "Should I use Redux for my feature?" »