feat[Fabric/Paper]: support isChildPublicInstance api method (#27783)
Adds `isChildPublicInstance` method to both renderers (Fabric and Paper), which will receive 2 public instances and return if first argument is an ancestor of the second, based on fibers. This will be used as a fallback when DOM node APIs are not available: for Paper renderer or for Fabric without DOM node APIs. How it is going to be used: to determine which `AppContainer` component in RN is responsible for highlighting an inspected element on the screen.
R
Ruslan Lesiutin committed
1729b499ed8cd456ef3d8bccd413cdecd9931abc
Parent: e3fb6ac
Committed by GitHub <noreply@github.com>
on 12/4/2023, 5:22:03 PM