react-native/ReactCommon/fabric/view
Valentin Shergin 6942408a47 Fabric: Dispatching `onLayout` events to only nodes which requested it
Summary:
@public
The current Fabric architecture, in general, does not support "subscribing" for events, so all kinds of events are always delivered no matter have JavaScript components `on`-handlers for them or not.
At this point, we are not sure should it be this way or not. But we are sure that for some extremely noisy events (like onLayout) we have to make an exception right now (otherwise overall performance will suffer).
So, this diff implements that for `onLayout`.

Reviewed By: fkgozali

Differential Revision: D8597408

fbshipit-source-id: 6933b7cb96e24f0660bd7850b625ff27e3146a2b
2018-06-22 18:46:39 -07:00
..
accessibility Fabric: Added support of `accessibilityCustomActions` for <View> 2018-06-22 11:57:40 -07:00
root Fabric: Composing YGNode object inside ShadowNode to avoid memory allocation overhead 2018-05-22 15:48:17 -07:00
tests iOS: added placeholder test setup for fabric graphics/uimanager/view targets 2018-03-23 22:22:20 -07:00
yoga Fabric: Proxying `pointScaleFactor` to Yoga Config 2018-06-22 07:32:49 -07:00
BUCK Re-format BUCK to use recommended style. 2018-05-20 23:24:51 -07:00
ConcreteViewShadowNode.h Fabric: Getting rid of many `auto &&` 2018-06-22 07:32:49 -07:00
ViewComponentDescriptor.h Fabric: Simplifying usage of `ConcreteComponentDescriptor` 2018-05-17 20:28:50 -07:00
ViewEventEmitter.cpp Fabric: Getting rid of many `auto &&` 2018-06-22 07:32:49 -07:00
ViewEventEmitter.h Fabric: All *EventHandlers were renamed to *EventEmitter 2018-06-09 13:16:45 -07:00
ViewProps.cpp Fabric: Dispatching `onLayout` events to only nodes which requested it 2018-06-22 18:46:39 -07:00
ViewProps.h Fabric: Dispatching `onLayout` events to only nodes which requested it 2018-06-22 18:46:39 -07:00
ViewShadowNode.cpp Fabric/Text: ConcreteViewShadowNode - base class for all `View`-like shadow nodes 2018-04-26 18:03:06 -07:00
ViewShadowNode.h Fabric: All *EventHandlers were renamed to *EventEmitter 2018-06-09 13:16:45 -07:00
conversions.h Fabric: Getting rid of many `auto &&` 2018-06-22 07:32:49 -07:00
primitives.h Fabric: Fixed `Identity Transform` matrix literal 2018-06-18 23:02:41 -07:00
propsConversions.h Fabric: Fixed error in parsing `position` style 2018-06-17 21:46:22 -07:00