Skip to content

Custom components for the <a> link does not work as expected during streaming. #1412

Answered by JounQin
tktk0430 asked this question in Q&A
Discussion options

You must be logged in to vote

As @remcohaszing said, just move components outside, it will just works as as you expected.

https://codesandbox.io/p/sandbox/react-markdown-forked-5rs49w

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@tktk0430
Comment options

@JounQin
Comment options

JounQin Feb 25, 2025
Collaborator

Answer selected by tktk0430
@remcohaszing
Comment options

@ChristianMurphy
Comment options

@tktk0430
Comment options

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