Is your feature request related to a problem? Please describe.
@slicemachine/adapter-next's link field snippet uses <PrismicLink>.
<PrismicLink> only works if the Next.js app is set up with the correct @prismicio/react configuration.
The latest @prismicio/next and Prismic documentation does not recommend <PrismicLink>. Instead, @prismicio/next's new <PrismicNextLink> should be used as it does not require any configuration.
Describe the solution you'd like
Replace the link field snippet with the following:
<PrismicNextLink> was recently introduced in @prismicio/next v1.1.0. Not all users will have updated to the latest version, but I think it's simpler for us to recommend latest features rather than include conditions to support all past versions.
Is your feature request related to a problem? Please describe.
@slicemachine/adapter-next
's link field snippet uses<PrismicLink>
.<PrismicLink>
only works if the Next.js app is set up with the correct@prismicio/react
configuration.The latest
@prismicio/next
and Prismic documentation does not recommend<PrismicLink>
. Instead,@prismicio/next
's new<PrismicNextLink>
should be used as it does not require any configuration.Describe the solution you'd like
Replace the link field snippet with the following:
Describe alternatives you've considered
N/A
Additional context
<PrismicNextLink>
was recently introduced in@prismicio/next
v1.1.0. Not all users will have updated to the latest version, but I think it's simpler for us to recommend latest features rather than include conditions to support all past versions.