diff --git a/packages/react-native/ReactCommon/react/renderer/core/ShadowNode.cpp b/packages/react-native/ReactCommon/react/renderer/core/ShadowNode.cpp index 814df904eef2c4..62827028223566 100644 --- a/packages/react-native/ReactCommon/react/renderer/core/ShadowNode.cpp +++ b/packages/react-native/ReactCommon/react/renderer/core/ShadowNode.cpp @@ -365,7 +365,8 @@ std::string ShadowNode::getDebugName() const { std::string ShadowNode::getDebugValue() const { return "r" + folly::to(revision_) + "/sr" + folly::to(state_ ? state_->getRevision() : 0) + - (getSealed() ? "/sealed" : ""); + (getSealed() ? "/sealed" : "") + + (getProps()->nativeId.empty() ? "" : "/id=" + getProps()->nativeId); } SharedDebugStringConvertibleList ShadowNode::getDebugChildren() const {