react-native-rich-editor
react-native-rich-editor copied to clipboard
Why are you deprecating getContentHTML
I don't understand the benefit of using onChange over getContentHTML if I'm going to implement a form with a save button (or like a chat with a send). If I have to listen to the onChange event that means each character typed or format change will create a new string object, and then make a function call to tell me about it so I can save it off (with a setState, which likely makes a second duplicate underneath). So this is a bunch of allocation and memory copying and function calls that don't need to happen. Instead I could just wait until the user is ready to save the content and query for it. This seems more efficient for both processor and memory use.