해결됨
따라하며 배우는 리액트, 파이어베이스 - 채팅 어플리케이션 만들기[2023.12 리뉴얼]
31강의 ChatRoom 생성시 리액트모달 띄울때 에러가 나던데 왜 그런 걸까요 ? 작동은 잘 합니다.
31강의 ChatRoom 생성하기에 모달 팝업창에 질문 있습니다.
모달 팝업창을 띄우면 콘솔에 이런 에러가 나옵니다.
Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of Transition which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node
at div
at Transition (http://localhost:3000/static/js/0.chunk.js:143095:30)
at Fade (http://localhost:3000/static/js/0.chunk.js:66501:24)
at BackdropTransition
at Modal (http://localhost:3000/static/js/0.chunk.js:137780:24)
at Modal (http://localhost:3000/static/js/0.chunk.js:67527:23)
at div
at ChatRooms (http://localhost:3000/static/js/main.chunk.js:999:5)
at Connect(ChatRooms) (http://localhost:3000/static/js/0.chunk.js:139310:75)
at div
at SidePanel
at div
at div
at ChatPage
at Route (http://localhost:3000/static/js/0.chunk.js:142152:29)
at Switch (http://localhost:3000/static/js/0.chunk.js:142354:29)
at App (http://localhost:3000/static/js/main.chunk.js:182:84)
at Router (http://localhost:3000/static/js/0.chunk.js:141787:30)
at BrowserRouter (http://localhost:3000/static/js/0.chunk.js:141407:35)
at Provider (http://localhost:3000/static/js/0.chunk.js:139023:20)
이런걸 찾아 보았는데, 제가 리액트 초보라 뭔말 인지 모르겠습니다.
https://stackoverflow.com/questions/60903335/warning-finddomnode-is-deprecated-in-strictmode-finddomnode-was-passed-an-inst
검색을 해서 찾아본 페이지 입니다.