작성
·
243
답변 2
0
0
계속 따라하면서 동작은 되지만 아래와 같은 warning 이 나오는 데요. 원인이 무엇인가요? 다른 강좌에서도 마찬 가지 였습니다.
- ./src/components/views/SubscriptionPage/SubscriptionPage.js
Line 24:8: React Hook useEffect has a missing dependency: 'variable'. Either include it or remove the dependency array react-hooks/exhaustive-deps
- /src/components/views/DetailVideoPage/Sections/Subscribe.js
Line 31:8: React Hook useEffect has a missing dependency: 'props.userTo'. Either include it or remove the dependency array react-hooks/exhaustive-deps
- ./src/components/views/DetailVideoPage/DetailVideoPage.js
Line 37:8: React Hook useEffect has a missing dependency: 'variable'. Either include it or remove the dependency array react-hooks/exhaustive-deps
수고하세요.