react-native-macos/React/Profiler
Kevin Gozali 446705df33 iOS: attach rootTag to the native component instance for easy access
Summary:
Changelog: [Internal]

The main use-case here is to get the rootTag off RCTImageView, for image loading instrumentation. The fact is, each RCTView subclass already has `reactTag` attached today. We already have the `rootTag` when the view is created by the UIManager, so why not just attach it like reactTag? If we don't, looking up the rootTag from the native component is non-trivial and extremely inefficient (have to jump to shadow queue, back to main queue, etc).

Reviewed By: sammy-SC

Differential Revision: D18497002

fbshipit-source-id: 8409e3a1c95e09accedd959592cbf178fab0b2c3
2019-11-16 00:13:48 -08:00
..
RCTMacros.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTProfile.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTProfile.m iOS: attach rootTag to the native component instance for easy access 2019-11-16 00:13:48 -08:00
RCTProfileTrampoline-arm.S Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTProfileTrampoline-arm64.S Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTProfileTrampoline-i386.S Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTProfileTrampoline-x86_64.S Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00