mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Deprecate SharedShadowNode in favor of ShadowNode::Shared
Summary: We are deprecating SharedShadowNode in favor of ShadowNode::Shared, the previous diff already removed most of the usages of SharedShadowNode changelog: [internal] Reviewed By: shergin Differential Revision: D19217718 fbshipit-source-id: 1b7cd1af0ecdc6112befdc45c1dd0fca5012ab21
This commit is contained in:
1 parent
4bfe8937b6
commit
3c711600b6
1 file changed
+1
@@ -30,6 +30,7 @@ class ComponentDescriptor;
|
||||
struct ShadowNodeFragment;
|
||||
class ShadowNode;
|
||||
|
||||
// Deprecated: Use ShadowNode::Shared instead
|
||||
using SharedShadowNode = std::shared_ptr<const ShadowNode>;
|
||||
using WeakShadowNode = std::weak_ptr<const ShadowNode>;
|
||||
using UnsharedShadowNode = std::shared_ptr<ShadowNode>;
|
||||
|
||||
Reference in new issue
Block a user