Awesome
TodoMVC built with React and Redux
The well-known TodoMVC built with React and Redux in a structured and testable way.
Concepts and tools covered
- CreateReactApp
- Components and Props
- Handling Events
- State and Lifecycle
- Redux
- React-Redux
- PropTypes
- Classnames
Usage
After installing the dependencies the following NPM scripts become available:
start
: starts the application in development mode on http://localhost:9300build
: bundles the application for production into thebuild
foldertest
: runs unit and E2E teststest:unit
: runs unit tests with Jest in thesrc
folder suffixed with*.spec.js
test:e2e
: runs E2E tests with Cypress in thetests/e2e
folder suffixed with*.spec.js
format
: formats the code with Prettier within thesrc
folderlint
: lint files with ESLint based on Airbnb's styleguide and the Prettier config
Component architecture
Application is compatible with React devtools and Redux devtools
Series
This implementation is part of a series where the same application was implemented with the same architecture.