Replies: 5 comments
-
This would be great, and even better if we can add the prefetching to it as well! |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
The prefetching works with an exported component https://remix.run/docs/en/v1/api/remix#prefetchpagelinks-, the component needs to be rendered in order to render the |
Beta Was this translation helpful? Give feedback.
-
@xeoneux You could still import the hook from import { useLinkClickHandler } from "react-router-dom"; This should work. |
Beta Was this translation helpful? Give feedback.
-
Converting this to a Proposal discussion, as per our Development Process. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What version of Remix are you using?
1.2.3
Steps to Reproduce
There's no export of
useLinkClickHandler
for creating custom fancy pants links as per the react-router dom API docExpected Behavior
It should be exported from the remix module
Actual Behavior
It's not exported from the remix module
Beta Was this translation helpful? Give feedback.
All reactions