Skip to content

Commit 9bd5591

Browse files
rubennortefacebook-github-bot
authored andcommitted
Remove references to ShadowNodeFamilyFragment from ComponentKit shadow node wrappers (#37773)
Summary: Pull Request resolved: #37773 Changelog: [internal] Reviewed By: sammy-SC Differential Revision: D46190383 fbshipit-source-id: e85948fbfeaaa4e057e6ff736734da0de2c06d0f
1 parent f3c8636 commit 9bd5591

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

packages/react-native/ReactCommon/react/renderer/core/ShadowNodeFamily.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ SurfaceId ShadowNodeFamily::getSurfaceId() const {
4848
return surfaceId_;
4949
}
5050

51+
SharedEventEmitter ShadowNodeFamily::getEventEmitter() const {
52+
return eventEmitter_;
53+
}
54+
5155
ComponentName ShadowNodeFamily::getComponentName() const {
5256
return componentName_;
5357
}

packages/react-native/ReactCommon/react/renderer/core/ShadowNodeFamily.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ class ShadowNodeFamily final {
7373

7474
SurfaceId getSurfaceId() const;
7575

76+
SharedEventEmitter getEventEmitter() const;
77+
7678
/*
7779
* Sets and gets the most recent state.
7880
*/

0 commit comments

Comments
 (0)