dillon1000/react
Commit
Browse files Remove toString of dangerouslySetInnerHTML (#17773)
As far as I can tell, the toString call was added here: https://github.com/facebook/react/commit/caae627cd557812d28d11237b34bff6c661ea8bc#diff-5574f655d491348f422bca600ff6711dR887 It was never really needed. Subsequently when we added Trusted Types, this needed to be changed to a special call but we really should just always let it pass through.
Changed paths1 file
First-parent comparisonpackages/react-dom/src/client/ReactDOMComponent.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…