Built-in support for native <a> #13121
kentcdodds
started this conversation in
Proposals
Replies: 2 comments 2 replies
-
Would be nice if there's a way to tell the router to ignore a link, something like return (
<>
<a href={href("/safe/path")} data-document>This uses MPA-style navigation</a>
<a href={href("/safe/path")}>This uses SPA-style navigation</a>
</>
) This would be required to keep |
Beta Was this translation helpful? Give feedback.
1 reply
-
What about the other Link properties? |
Beta Was this translation helpful? Give feedback.
1 reply
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
With the new
href
utility, it seems like<Link/>
doesn't really do much (shout-out to #13115 too btw). And if #10748 is supported, then the<NavLink/>
wouldn't be necessary either.It would be nice to in a hook like this and make native anchor elements work:
Beta Was this translation helpful? Give feedback.
All reactions