Skip to content

Page reload on hyperlink usage. #1323

Answered by AWATV
AWATV asked this question in Q&A
Apr 29, 2024 · 3 comments · 2 replies
Discussion options

You must be logged in to vote

It helps me fix it:

<ReactMarkdown 
  components={{
    a: ({node, ...props}) => <Link to={props.href} {...props} />
  }}
>

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@ChristianMurphy
Comment options

@AWATV
Comment options

Answer selected by AWATV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants