link1 [NextJs] Link와 router.push 개요 nextjs를 공부하다보니 페이지를 이동하는 방법으로 Link, router.push()를 알게 되었습니다. 무슨 차이가 있는지 한번 찾아보았고 제 방식대로 정리를 해보았습니다. 정확한 정의를 알고 싶다면 Link에 대한 내용 next/link | Next.js Enable client-side transitions between routes with the built-in Link component. nextjs.org router에 대한 내용 next/router | Next.js Learn more about the API of the Next.js Router, and access the router instance in your page with the useRouter hook. next.. 2023. 2. 2. 이전 1 다음