quantizor / markdown-to-jsx

🏭 The most lightweight, customizable React markdown component.
https://markdown-to-jsx.quantizor.dev/
MIT License
1.96k stars 169 forks source link

How to prevent html tag shown when doing streaming #585

Open dejavu20180307 opened 3 months ago

dejavu20180307 commented 3 months ago

Hi, First this is awesome library, it really helps a lot. I have a noob question, if anyone has idea, please let me know, appreciated. I am using this library to display some streaming content from backend. There are some customized html tag mapped to my react component. One of issue I am seeing is, it display raw html on the screen for a few seconds then it refreshed to display react compnent UI. I assume this is caused by UI refresh frequency doesn't catch up with streaming frequency? Is there a way to hide html only display react UI instead?