React
지연 초기 state
liufeier
2020. 12. 7. 17:43
반응형
useState의 지연 초기화 (Lazy initial state)
useState의 지연 초기화 (Lazy initial state)
공식문서에서 다루는 Lazy initial state은 다음과 같이 설명이 되어 있다. The initialState argument is the state used during the initial render. In subsequent renders, it is disregarded. If the initi..
darrengwon.tistory.com
반응형