react-native/ReactCommon
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
..
cxxreact make logMarker visible for consistency with logTaggedMarker 2018-06-01 15:20:01 -07:00
fabric Fabric: Dispatching `onLayout` events to only nodes which requested it 2018-06-22 18:46:39 -07:00
jschelpers Migrate Android sources to MIT license header 2018-05-31 15:37:30 -07:00
jsinspector Update license headers for MIT license 2018-02-16 18:31:53 -08:00
microprofiler Migrate Android sources to MIT license header 2018-05-31 15:37:30 -07:00
privatedata Migrate Android sources to MIT license header 2018-05-31 15:37:30 -07:00
yoga Clean-up parent / owner reference of children during clonning 2018-06-22 11:36:04 -07:00