Prepending root scope ID

Summary: Using just the scope identifier for the root component is not sufficient when it doesn't have a scope. Solve this by prepending the scope root identifier to the parent identifier.

Reviewed By: fabiomassimo

Differential Revision: D19600721

fbshipit-source-id: d90f9ffd7ae369c76316cebc4ef792626a4584b7
This commit is contained in:
Andrey Mishanin
2020-01-28 08:25:26 -08:00
committed by Facebook Github Bot
parent 7964772f82
commit 67a1c27af2
3 changed files with 9 additions and 2 deletions

View File

@@ -25,5 +25,6 @@
@property (nonatomic, readonly) CKFlexboxComponentChild flexboxChild;
+ (instancetype)newFromRoot:(id<CKInspectableView>)root;
+ (instancetype)newFromRoot:(id<CKInspectableView>)root parentKey:(NSString *)parentKey;
@end