Skip to content
Discussion options

You must be logged in to vote

Thanks for the kind words.

Since then, we have definitely added improvements that enhance performance. The most important thing is not to rely on the onChangeHtml callback when processing long texts. Using it means that every change in text/style requires parsing the text and generating HTML, which can cause performance issues with longer texts. Instead, it is better to access the HTML on demand, imperatively, via ref.current.getHtml().

We know that react-native-enriched is used in several projects to handle long texts, but we have not conducted any detailed measurements internally. I think it would be best if you try using react-native-enriched (setup should be quick and fairly easy) and…

Replies: 1 comment 2 replies

Comment options

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

@exploIF
Comment options

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