-
Notifications
You must be signed in to change notification settings - Fork 586
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement faster props update optimization in CKRenderComponent
Summary: - Added new method to `CKRenderComponentProtocol`: `isEqualToComponent:` - Added new config `enableFasterPropsUpdate` - When there is a `PropsUpdate`, or a `StateUpdate` on a parent component. If the `enableFasterPropsUpdate` is on, the infra will call `isEqualToComponent:` with the new generated component. If the it returns `YES`, the infra will reuse the previous component and its component tree (`CKTreeNode`). Reviewed By: alickbass Differential Revision: D9216877 fbshipit-source-id: 276719d7577f991afefecb014dd746c71f1e99f0
- Loading branch information
1 parent
4e6bdf2
commit 6dbf56a
Showing
6 changed files
with
261 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.