Skip to content

Adding Router and Page

peterchang edited this page Feb 7, 2018 · 8 revisions

1- Creating API Router

./src/router/todo.js

!https://user-images.githubusercontent.com/5538753/35893109-70d8c7bc-0be7-11e8-9277-ae8520f233d0.png!

3- Creating fetch todo action API

5- Creating Reducer

./src/reducers/todo.js, after add it to ./src/reducers/index.js

6- Creating Container

Wiring Reducers and Action API in to here ./src/containers/Todo.js

Clone this wiki locally