kdchang / reactjs101

從零開始學 ReactJS(ReactJS 101)是一本希望讓初學者一看就懂的 React 中文入門教學書,由淺入深學習 ReactJS 生態系 (Flux, Redux, React Router, ImmutableJS, React Native, Relay/GraphQL etc.)。
https://www.gitbook.com/book/kdchang/react101/details
Other
4.31k stars 1.22k forks source link

Two small errors. #56

Open eatingli opened 7 years ago

eatingli commented 7 years ago

At page CH7.

  1. Code in "src/actions/todoActions.js". "CREATE_TODO , DELETE_TODO, CHANGE_TEXT" are used as string.

    export const createTodo = createAction('CREATE_TODO');
    export const deleteTodo = createAction('DELETE_TODO');
    export const changeText = createAction('CHANGE_TEXT');
  2. Link "上一章:Redux 基礎概念". It has error url.