-
|
Hi team, amazing job on releasing react-native-enriched. I'm evaluating this library for my project to allow users to create and format text documents. The maximum expected length for these files is around 5 pages. While watching your YouTube live presentation, I understood that very long documents might be a potential performance limitation at the moment. Could you confirm if a 5-page length is handled smoothly or if there are any known bottlenecks I should be aware of before adopting it? Thanks a lot for the great work🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
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 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 evaluate for yourself how it works in your case. If you notice any performance issues, I would appreciate your feedback, and we will try to do something about it ;) |
Beta Was this translation helpful? Give feedback.
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
onChangeHtmlcallback 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, viaref.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…