Skip to content

[devtools] Restore all Transitions for Tree updates #33042

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

Merged
merged 2 commits into from
Apr 30, 2025

Conversation

eps1lon
Copy link
Collaborator

@eps1lon eps1lon commented Apr 28, 2025

Stacked on #33039

Summary

Restores all the Transitions removed in #33039. We now kick of the fetch when we change the Owner instead of kicking it off in an Effect (you-might-not-need-an-effect).

How did you test this change?

  • Shell and double click on "Dehydrateable props"

@eps1lon eps1lon requested a review from hoxyq April 28, 2025 12:18
@github-actions github-actions bot added the React Core Team Opened by a member of the React Core Team label Apr 28, 2025
Comment on lines -98 to -99
inProgressRequests.delete(element);

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we delete it, subsequent reads will not read the resolved value and would instead need to manually re-render.

In our case, the read was happening after the ownersList event and therefore read nothing.

@eps1lon eps1lon merged commit fa8e3a2 into facebook:main Apr 30, 2025
239 checks passed
@eps1lon eps1lon deleted the sebbie/rdt-restore-tree-transitions branch April 30, 2025 17:51
hoxyq pushed a commit to hoxyq/react that referenced this pull request May 7, 2025
hoxyq added a commit that referenced this pull request May 8, 2025
Patch release to mitigate #32659

Essentially just 6.1.1 with:
* Restore all Transitions for Tree updates
([eps1lon](https://github.com/eps1lon) in
[#33042](#33042))
* Restore "double-click to view owners tree" functionality
([eps1lon](https://github.com/eps1lon) in
[#33039](#33039))
github-actions bot pushed a commit that referenced this pull request May 8, 2025
Patch release to mitigate #32659

Essentially just 6.1.1 with:
* Restore all Transitions for Tree updates
([eps1lon](https://github.com/eps1lon) in
[#33042](#33042))
* Restore "double-click to view owners tree" functionality
([eps1lon](https://github.com/eps1lon) in
[#33039](#33039))

DiffTrain build for [557a647](557a647)
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.

3 participants