dillon1000/react
Commit
Browse files Use setProperty when setting style properties (#9302)
* Use setProperty when setting style properties setProperty is faster in all/most modern browsers. It also lets us support CSS variables. * Only use setProperty when setting CSS variables * Add test to ensure setting CSS variables do not warn * Make this PR pretty again * Run fiber test script
Changed paths3 files
First-parent comparisonscripts/fiber/tests-passing.txt ModifiedM src/renderers/dom/shared/CSSPropertyOperations.js ModifiedM src/renderers/dom/shared/__tests__/CSSPropertyOperations-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…