Skip to content

[Transition Tracing] Moved Transition Tracing Callback Code From Mutation to Passive Phase#24251

Merged
lunaruan merged 1 commit intofacebook:mainfrom
lunaruan:mutation_to_passive
Apr 8, 2022
Merged

[Transition Tracing] Moved Transition Tracing Callback Code From Mutation to Passive Phase#24251
lunaruan merged 1 commit intofacebook:mainfrom
lunaruan:mutation_to_passive

Conversation

@lunaruan
Copy link
Contributor

@lunaruan lunaruan commented Apr 1, 2022

This PR moves the code for transition tracing in the mutation phase that adds transitions to the pending callbacks object (to be called sometime later after paint) from the mutation to the passive phase.

Things to think about:

  1. Passive effects can be flushed before or after paint. How do we make sure that we get the correct end time for the interaction?

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed React Core Team Opened by a member of the React Core Team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants