Skip to content

Comments

feat: enhance markdown rendering#592

Open
widjajadelvin wants to merge 1 commit intojfcere:masterfrom
widjajadelvin:master
Open

feat: enhance markdown rendering#592
widjajadelvin wants to merge 1 commit intojfcere:masterfrom
widjajadelvin:master

Conversation

@widjajadelvin
Copy link

We are streaming texts for our chat bot app in markdown format and we realise that this component will be re-rendered every time a new text is appended to the current one. Due to the re-rendering one will lose the highlighted text while the app is streaming.

This PR updates only the necessary parts of the DOM, preserving user interactions (e.g., text selection) and improving performance.

Ref to issue: #447 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant