dillon1000/react

Commit

Remove Unnecessary DOM Mutations

This fixes an edge case that can cause unnecessary mutations in the DOM. Namely, if a prop is falsey, it will get touched on every update by reconciliation. See unit test.
Browse files
Changed paths2 files
First-parent comparison
M src/core/ReactNativeComponent.js ModifiedM src/core/__tests__/ReactNativeComponent-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…