dillon1000/react

Commit

Make 'disabled' MUST_USE_ATTRIBUTE for compatibility with CSS [disabled] selectors.

When a ReactDOMComponent is created with the property `disabled: true` subsequently setting the property to `disabled: false` the HTML attribute `disabled="true"` was being left in the DOM.
Browse files
Changed paths1 file
First-parent comparison
M src/dom/DefaultDOMPropertyConfig.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…