dillon1000/react

Commit

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.
Browse files
Changed paths1 file
First-parent comparison
M packages/react-dom/src/client/ReactDOMComponent.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…