dillon1000/react
Commit
Browse files Fix infinite recursion in browsers with iterators
My old code here didn't work properly -- for a string child, getIteratorFn would return an iterator that gave each character as its own string, and we'd attempt to loop over that too. Tests now work in Chrome again.
Changed paths2 files
First-parent comparisonsrc/classic/element/ReactElementValidator.js ModifiedM src/classic/element/__tests__/ReactElementValidator-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…