Open utterances-bot opened 2 years ago
이제 마지막 퀴즈의 버튼을 클릭하였을 때, 다른 결과 페이지로 보내는 코드를 작성해보도록 하겠습니다.
https://react.codepot.kr/docs/week04/doc6
react-router-dom 변경 import { useNavigate } from "react-router-dom" .... const navigate = useNavigate(); navigate("/result")
결과 페이지로 이동시키기 | {React 개발에서 배포까지}
이제 마지막 퀴즈의 버튼을 클릭하였을 때, 다른 결과 페이지로 보내는 코드를 작성해보도록 하겠습니다.
https://react.codepot.kr/docs/week04/doc6