[JS] 자바스크립트
[별코딩] useReducer()
sweetychocoding
2023. 8. 10. 09:40
728x90
< useReducer >
- useState를 대체할 수 있는 함수로 컴포넌트의 복잡한 상태 관리를 할 수 있다.

- Dispatch: State 업데이트를 위한 요구
- Action: 요구의 내용
- Reducer: State update 역할


728x90