dillon1000/react
Commit
Browse files Replace the implementation of escapeTextContentForBrowser with escape-html (#6862)
* Replacing the implementation of escapeTextContentForBrowser with escape-html for performance * Addressing @spicyj's code review comment here: https://github.com/facebook/react/pull/6862#issuecomment-223102868 . Pulled the code of escape-html in to react and changed the encoding of single quote to '. * Addressing code review comment https://github.com/facebook/react/pull/6862#discussion_r65462074 to make code more inlinable for v8. Thanks, @spicyj.
Changed paths1 file
First-parent comparisonsrc/renderers/dom/shared/escapeTextContentForBrowser.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…