You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FYI: I spoke with Max and we don't recall any issues with Next/link. (Context: I mentioned we had some speedbumps with Next's link, but what I was thinking of is actually Next's image component.
rezrah
changed the title
Next.js Link component not compatible with Hero CTAs
Next.js Link component incompatible with Hero CTAs
Sep 12, 2022
Problem statement
Next.js encourage using the
Link
component declaratively to wrap any<a>
tags.E.g.
The Hero doesn't use a composable API, which makes composition of Next.js link impossible.
Suggestion
Rewrite the API for consistency with other composable API's.
References
Next.js Link component docs
The text was updated successfully, but these errors were encountered: