본문 바로가기

개발에 관한 모든 것의 기록

검색하기
개발에 관한 모든 것의 기록
프로필사진 개발하고 기록하는 개발자

  • 분류 전체보기 (12)
    • 개발일지 (0)
      • 로컬비즈니스 '버킷' 프로젝트 (0)
    • 클라우드,인프라 (10)
    • 서버,데이터베이스 (1)
    • 웹 (1)
      • React (1)
      • NextJS (0)
Guestbook
Notice
Recent Posts
Recent Comments
Link
  • http://pple.link
  • https://github.com/nookcoder
  • gus5427@naver.com
«   2025/08   »
일 월 화 수 목 금 토
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
Tags
  • Redux
  • Redux Toolkit
  • 클라우드
  • AWS
  • 클라우드 컴퓨팅
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록Redux (1)

개발에 관한 모든 것의 기록

Redux 적용하기 with Typesciprt, Redux toolkit

1. Redux Toolkit 과 React-Redux 설치 npm install @reduxjs/toolkit react-redux 2. Redux Store 생성하기 // app/store.js import { configureStore } from '@reduxjs/toolkit' export const store = configureStore({ reducer: {}, }) // store 에 있는 State 타입과 Dispatch 타입 지정 export type RootState = ReturnType export type AppDispatch = typeof store.dispatch 3. React index 파일에 Provider 추가 import React from 'react' impo..

웹/React 2022. 4. 21. 01:15
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바