jayspod

  • 홈
  • 태그
  • 방명록

리덕스 1

Redux

리덕스가 필요한 이유 유지보수, 디버깅을 어렵게하는 불필요한 props drilling을 없애고 언제든 global state가 필요할 때마다 store에 접근하여 사용할 수 있음 리덕스 설치 yarn add redux react-redux 폴더 구조 // src/redux/config/configStore.js // 원래 있던 코드 import { createStore } from "redux"; import { combineReducers } from "redux"; // 새롭게 추가한 부분 import counter from "../modules/counter"; const rootReducer = combineReducers({ counter: counter, // { switch (action..

Programming 2023.07.04
이전
1
다음
더보기
  • 분류 전체보기 (70)
    • Programming (65)
    • Review (5)
      • Spend (1)
      • Movie (1)
      • Book (2)
      • Coffee (1)

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

페이스북 트위터 플러그인

Archives

Calendar

«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바