Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
RichText: Do not run valueToEditableHTML on every render #12460
Currently we are calling
I think this removes about 3.5-4% of the work done on every key press. Note that it does not only affect key presses, but renders in general. So this function will be called a lot more than needed.
How has this been tested?
Types of changes
left a comment
I see some e2e test failing, but they seem unrelated (may I have heard somewhere that they're now failing for every branch due to a Travis issue?).
This works properly and the code is fine, so giving you a