Replies: 1 comment
-
1.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
공식문서를 보면 next js 프로젝트에서 'next/link' 모듈의
<Link>태그를 사용할 수 있는 것을 알 수 있습니다.공식문서: https://nextjs.org/docs/pages/api-reference/components/link
아래 두 가지 방법으로 코드를 작성해도 페이지 이동이 정상적으로 될 것 같은데 next/link대신 아래 두 방식으로 작성해도 되지 않을까요?
1.
<a></a>태그를 사용2. 'next/router' 의 useRouter 을 사용
Beta Was this translation helpful? Give feedback.
All reactions