Development/ReactNative
[study] Props-drilling 이란?
mefd
2024. 2. 15. 10:45
728x90
Props-drilling 이란?
값을 계속해서 하위 컴포넌트의 props로 전달해 주는 것
>>굉장히 복잡해짐.
방지 방법
1. 리덕스 : 상태관리도구
state : React component에서 관리되고 있는 어떤 값
2. 상태관리 라이브러리 활용
redux, context API, recoil 등
728x90