resolveRootTagFromReactTag

open fun resolveRootTagFromReactTag(reactTag: Int): Int

Deprecated

Given a reactTag from a component, find its root node tag, if possible. Otherwise, this will return 0. If the reactTag belongs to a root node, this will return the same reactTag.

Deprecated

this method is not going to be supported in the near future, use isRootTag to verify if a react Tag is a root or not

TODO: T63569137 Delete the method UIManagerModule.resolveRootTagFromReactTag

Return

the rootTag

Parameters

reactTag

the component tag