Skip to content

const CustomLink #329

Answered by timlrx
rsipakov asked this question in Q&A
Jan 9, 2022 · 2 comments · 4 replies
Discussion options

You must be logged in to vote

Yes, no issues at all. You just need to rename all the imports that reference the Link component as well (VScode automatically does it).

If you are thinking about making the change on the main template, I still prefer the Link.js rather than CustomLink.js. The main idea is that you should have one link component and there's no need to use next/link directly. I find it easier to customise the link / a tag logic this way.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@rsipakov
Comment options

@timlrx
Comment options

@rsipakov
Comment options

@timlrx
Comment options

Answer selected by rsipakov
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants