react-native/ReactCommon/fabric
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
..
activityindicator iOS: Support <ActivityIndicator> component 2018-05-23 10:22:47 -07:00
attributedstring Fabric: Using Size instead of Point as textShadowOffset's type 2018-06-08 20:31:40 -07:00
components Fabric: <Image> component, xplat part 2018-06-22 07:32:50 -07:00
core Fabric: Default support of `displayType` and `layoutDirection` layout metrics 2018-06-22 11:57:40 -07:00
debug Re-format BUCK to use recommended style. 2018-05-20 23:24:51 -07:00
graphics Fabric: Support for uniformed borders of <View> 2018-06-22 11:57:40 -07:00
imagemanager Fabric: Introducing ImageManager 2018-06-22 07:32:49 -07:00
sample Fabric: Introducing `ContextContainer` 2018-06-22 07:32:49 -07:00
scrollview Fabric: Getting rid of many `auto &&` 2018-06-22 07:32:49 -07:00
text Fabric: Getting rid of many `auto &&` 2018-06-22 07:32:49 -07:00
textlayoutmanager Fabric: Using proper encoding for converting user-facing strings to NSString 2018-06-22 07:32:49 -07:00
uimanager Fabric: Dispatching `onLayout` events to only nodes which requested it 2018-06-22 18:46:39 -07:00
view Fabric: Dispatching `onLayout` events to only nodes which requested it 2018-06-22 18:46:39 -07:00