dillon1000/react
Commit
Browse files ReactNativeBridgeEventPlugin supports lazily-registered event types (#10679)
* ReactNativeBridgeEventPlugin supports lazily-registered event types This accompanies changes on the native side to now specify which event types each view manager supports as part of its view config. Ultimately the goal is to lazily initialize view managers on the native side as well. * Bubbling and direct attributes are optional on view config This should help ease transition for pre-existing JS-only components.
Changed paths7 files
First-parent comparisonscripts/rollup/shims/react-native/ReactNativeBridgeEventPlugin.js AddedM src/renderers/native/ReactNativeBridgeEventPlugin.js ModifiedD src/renderers/native/ReactNativeEventTypes.js DeletedM src/renderers/native/ReactNativeFiberEntry.js ModifiedM src/renderers/native/ReactNativeTypes.js ModifiedM src/renderers/native/__tests__/ReactNativeEvents-test.js ModifiedM src/renderers/native/__tests__/__snapshots__/ReactNativeEvents-test.js.snap ModifiedPatch
Files changed
Rendering syntax-highlighted changes…