본문 바로가기
Frontend#Frontend#State조회 21

Redux Toolkit란?RTK

정의

Redux 공식 유틸. createSlice·createAsyncThunk·RTK Query로 보일러플레이트 제거.

RTK란?

Redux의 번거로움을 대폭 줄인 공식 유틸 라이브러리다. Redux 쓴다면 RTK 사용 권장.

구성

  • createSlice — reducer + action 한 번에
  • createAsyncThunk — 비동기
  • RTK Query — 서버 데이터

🔗 함께 보면 좋은 용어

Frontend 전체 →