Previously, _owner would be null if you create an element inside forwardRef or inside a context consumer. This is used by ReactNativeFiberInspector when traversing the hierarchy and also to give more info in some warning texts. This also means you'll now correctly get a warning if you call setState inside one of these. Test Plan: Tim tried it in the RN inspector. |
||
|---|---|---|
| .. | ||
| create-subscription | ||
| events | ||
| react | ||
| react-art | ||
| react-call-return | ||
| react-dom | ||
| react-is | ||
| react-native-renderer | ||
| react-noop-renderer | ||
| react-reconciler | ||
| react-scheduler | ||
| react-test-renderer | ||
| shared | ||
| simple-cache-provider | ||