dillon1000/react
Commit
Browse files Create `ReactNativeComponent` Abstract Class (#9814)
This creates `ReactNativeComponent`, the modern replacement for `NativeMethodsMixin`. This class is going to allow us to start migrating React Native off `React.createClass(...)` into a typesafe, class-based brave new world. This also introduces `IReactNativeComponent`, an interface that enforces consistency between `ReactNativeComponent` and `ReactNativeFiberHostComponent`.
Changed paths4 files
First-parent comparisonsrc/renderers/native/ReactNativeComponent.js AddedM src/renderers/native/ReactNativeFiber.js ModifiedM src/renderers/native/ReactNativeStack.js ModifiedM src/renderers/native/ReactNativeTypes.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…