dillon1000/react
Commit
Browse files 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/numericlikeChanged paths1 file
First-parent comparisonsrc/core/ReactComponent.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…