dillon1000/react
Commit
Browse files Clarify reason for setTextContent helper (#11813)
* Update comment on setTextContent update the comment explaining the reason for the helper * Use `setTextContent` in ReactDOM for consistency
Changed paths2 files
First-parent comparisonpackages/react-dom/src/client/ReactDOM.js ModifiedM packages/react-dom/src/client/setTextContent.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…