dillon1000/react
Commit
Browse files ReactNative upstream sync (#9197)
* Addresses a circular dependency between NativeMethodsMixin and ReactNativeFiber: * Created new ReactNativeFiberHostComponent with similar interface but without unnecessary call to findNodeHandle. * Created new Flow interface for mixins to ensure ReactNativeFiberHostComponent and NativeMethodsMixinUtils stay synced. * Moved helper methods to NativeMethodsMixinUtils to be shared between the 2 wrappers. This diff was submitted and reviewed internally along with some other ReactNative changes. This is the React-only portion. * Removed unused Flow type import * Copied a Flow fix from internal
Changed paths9 files
First-parent comparisonsrc/renderers/native/NativeMethodsMixin.js ModifiedA src/renderers/native/NativeMethodsMixinUtils.js AddedM src/renderers/native/ReactNative.js ModifiedM src/renderers/native/ReactNativeFiber.js ModifiedA src/renderers/native/ReactNativeFiberHostComponent.js AddedM src/renderers/native/ReactNativeStack.js ModifiedM src/renderers/native/ReactNativeStackInjection.js ModifiedM src/renderers/native/createReactNativeComponentClass.js ModifiedM src/renderers/native/findNodeHandle.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…