The purpose of this repo is to practice the code example from https://egghead.io/courses/getting-started-with-redux
Instead of using the http://jsbin.com for writing the code in one single file, this repo break down the components into separated files, which will be more like a real life example, and we can write unit test against each component.
npm install
npm start
open http://localhost:3000/
npm test
Create reducer function and createStore
git checkout 01_purejs
React Counter example
git checkout 02_react_reder
Avoid mutation, Write reduces to add and toggle todo
git checkout 03_immutable_reducer
Create Reducer Composition with object
git checkout 04_reducer_composition
Make use of the combineReducers from redux
git checkout 05_combine_reducer
Implementing combineReducers from scratch
git checkout 06_impl_combine_reducers
Implement React Todo List for add, toggle filter todos.
git checkout 07_react_todo_list
Extract the Todo, TodoList component
git checkout 08_extract_react_component
Extract the FilterLink, VisibleTodoList and Addtodo container components Passing the store from the top level TodoApp
git checkout 09_extract_container_components
Passing the Store Down Implicitly via Context Update the unit test of containers Enable travis CI
git checkout 10_pass_store_via_context
Passing the Store Down with Provider from React Redux
git checkout 11_redux_provider
Generating Containers with connect() from React Redux
git checkout 12_redux_connect
Extracting Action Creators
git checkout 13_action_creator