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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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