dillon1000/react
Commit
Browse files Don't break on top-level non-numeric object keys
Previously, this threw (in `__DEV__` only) in `ReactCurrentOwner.current.constructor.displayName` because `ReactCurrentOwner.current` is null:
```
React.renderComponent(<div>{{1: <div />, 2: <div />}}</div>, document.body);
```Changed paths1 file
First-parent comparisonsrc/core/ReactDescriptor.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…