TodoMVC
React/Redux •React is a JavaScript library for creating user interfaces by Facebook and Instagram. Many people choose to think of React as the V in MVC.
Redux is a predictable state container for JavaScript apps. It helps you write applications that behave consistently, run in different environments (client, server, and native), and are easy to test.
Resources
Support
Let us know if you discover anything worth sharing.
Implementation
This app is built using the set of React best practices that I have found most useful. In particular:
- Modern JavaScript (ES6, plus object rest/spread properties). I use Babel as a transpiler.
- Flux standard actions, utilizing the redux actions library.
- Strict adherence to immutability. I do not use an immutability library to enforce this, but I do use a library that detects changes. Note that in a real-world app, this library would only be used during development and not in production.
In addition, this app is intended to show off the development environment of React/Redux. As such, it includes sourcemaps and debugging tools. Source code comments indicate where the code would need to be changed for a real production build.
Credit
Created by Stephen Cleary