dillon1000/react

Commit

Fix warning for numeric properties

Number('.1') === 0.1, and react uses dot-prefixed keys
for children. Whoops. Nuke the non-numeric requirement, and just
check a regex. This seems performant enough in micro-benchmarks:
http://jsperf.com/numericlike
Browse files
Changed paths1 file
First-parent comparison
M src/core/ReactComponent.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…