dillon1000/react

Commit

Add `createMarkupForID`

This is a follow-up the to previous commit and does two things:

 - Moves `ReactMount.ATTR_NAME` to `DOMProperty.ID_ATTRIBUTE_NAME`.
 - Adds `DOMPropertyOperations.createMarkupForID` and uses it.
Browse files
Changed paths7 files
First-parent comparison
M src/core/React.js ModifiedM src/core/ReactDOMComponent.js ModifiedM src/core/ReactMount.js ModifiedM src/core/ReactTextComponent.js ModifiedM src/dom/DOMProperty.js ModifiedM src/dom/DOMPropertyOperations.js ModifiedM src/environment/__tests__/ReactServerRendering-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…