Generic solution for live editing
Summary: Preparation for making components live editable Reviewed By: kevin0571 Differential Revision: D16379961 fbshipit-source-id: d0ea3d753eb588fe7b55f2345124427b4a5a58b5
This commit is contained in:
committed by
Facebook Github Bot
parent
cb374ffccd
commit
f2bc5d3fb2
@@ -43,6 +43,12 @@ typedef void (^SKNodeUpdateData)(id value);
|
||||
*/
|
||||
- (NSString *)identifierForNode:(T)node;
|
||||
|
||||
/**
|
||||
An ID which is equal between reflowing components is needed to get the identifier of root
|
||||
node of a tree which need to be invalidated on FlipperKitLayoutPlugin side.
|
||||
*/
|
||||
- (NSString *)identifierForInvalidation:(T)node;
|
||||
|
||||
/**
|
||||
The name used to identify this node in the Sonar desktop application. This is what
|
||||
will be visible in the hierarchy.
|
||||
|
||||
Reference in New Issue
Block a user