DEV Community

Discussion on: How To Add Styling To An Active Link In NextJS

Collapse
 
chiangs profile image
Stephen Chiang • Edited

Just a reminder to those who are reading this, that if you insert <a/> wrapped inside a custom component inside <Link/> that you should include passHref if the <a/> wraps anything other than a string, otherwise your site may take a hit on SEO.

Collapse
 
yuridevat profile image
Julia 👩🏻‍💻 GDE

Wow, thanks for this information, didn't know about that.