mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
6ba137bf826c89b9ec0f210f6eb2fac21d90c67a
## Summary
When a view config can not be found, it currently errors with
`TypeError: Cannot read property 'bubblingEventTypes' of null`. Instead
invariant at the correct location and prevent further processing of the
null viewConfig to improve the error logged.
## How did you test this change?
Build and run RN playground app referencing an invalid native view
through `requireNativeComponent`.
DiffTrain build for [26855e4680](https://github.com/facebook/react/commit/26855e4680dedb21f2c73a069ed691822a242db1)
Please do not delete this branch
Description
Languages
JavaScript
67.1%
TypeScript
29.4%
HTML
1.5%
CSS
1.1%
C++
0.6%
Other
0.2%