Skip to content
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

Closed
wants to merge 2 commits into from

Conversation

boduan-coder
Copy link
Contributor

At the runtime, the ComponentContext's treeProps could be null. In this case, it would better to use the treeProps that provided by caller.

@boduan-coder boduan-coder changed the title Let TreePopulator use the saved treeProps if context.getTreeProps() i… Use the injected treeProps for Layout PerfEvent Aug 1, 2019
@boduan-coder
Copy link
Contributor Author

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.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a 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.

Copy link
Contributor

@colriot colriot left a 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 😄

@facebook-github-bot
Copy link
Contributor

@boduan402 has updated the pull request. Re-import the pull request

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a 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.

@facebook-github-bot
Copy link
Contributor

@colriot merged this pull request in d228f8a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants