221207 Toy Project- Todo List Using Redux

hannah·2022년 12월 8일
  1. yarn create react-app file name

  2. yarn add redux

  3. yarn add react-redux

  4. yarn add styled-components

  5. yarn add react-id-generator

  6. yarn add react-router-dom

  7. Create files and folders. In React applications, there are 3 most common naming conventions:

  • Camel case for file names, and pascal case for component names
  • Kebab case for file names, and pascal case for component names
  • Pascal case for both file names, and component names
  1. Create redux file. Create config / modules folders inside redux file. Create configStore.js inside config folder
    config file

redux: everything that's related to redux
config: files related to redux setting
configStore.js: 중앙 state 관리소
modules: where we combine the group of states

  1. modules->todo.js-> action value / action creator / initial state / reducer

  2. app.js ->

profile
aspiring frontend developer based in NYC

0개의 댓글