Next.js Discord

Discord Forum

NextJs inside monorepo packages/shared.

Texas leafcutting ant posted this in #help-forum
Open in Discord
Texas leafcutting antOP
Hi, is it bad practice to have nextjs components used inside packages/shared in a monorepo? I found this discussion (, which indicates that you should pass the component in when calling it eg. <MyLinkFromShared linkComponent={NextLink} href="/about"> is that right?

0 Replies