
React
Redux
#리덕스는 애플리케이션의 상태를 관리하기 위한 오픈소스 자바스크립트 라이브러리이다 리덕스를 쓰는 이유는 흔히 데이터를 전달할때 props로 할수도 있지만 너무 많은 페이지가 있다면 정말 복잡해진다 그걸 줄이고 편하게 이용하기 위해 리덕스를 쓴다. #리덕스 코어설치 npm install redux npm install @reduxjs/toolkit npm i sass react-redux @reduxjs/toolkit -타입스크립트에서는 @types/react-redux를 추가로 설치 1.store - 단하나만 생성 가능하면 생성하여 상태를 관리 할 수 있음 import { configureStore, createSlice } from "@reduxjs/toolkit"; const resultInput =..