-
Notifications
You must be signed in to change notification settings - Fork 763
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use the injected treeProps for Layout PerfEvent #574
Conversation
Hi @colriot , can you please help review this change again? I somehow mess up the old branch and have to create this new pull request to address your comment. Could you please help review when getting a chance? Appreciate it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@colriot has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @boduan402. Thanks for continuing your work here!
Added some comments to clarify my previous comments 😄
litho-core/src/main/java/com/facebook/litho/LogTreePopulator.java
Outdated
Show resolved
Hide resolved
litho-core/src/main/java/com/facebook/litho/LogTreePopulator.java
Outdated
Show resolved
Hide resolved
@boduan402 has updated the pull request. Re-import the pull request |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@colriot has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
At the runtime, the ComponentContext's treeProps could be null. In this case, it would better to use the treeProps that provided by caller.