Skip to content

Conversation

@eps1lon
Copy link
Collaborator

@eps1lon eps1lon commented Mar 19, 2024

Test reproducing #28584. This is not minimal since I haven't started removing wrappers until it no longer reproduces. But this should be a good starting point if somebody wants to pick this up.

Test plan

  • yarn test --build --project=devtools -r=experimental profilingCache-test --testNamePattern "should properly detect changed hooks #2"

@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Mar 19, 2024
@eps1lon eps1lon force-pushed the devtools/hook-changed-mismatch branch from 2165efb to ca6eb7c Compare March 19, 2024 11:46
"context": false,
"didHooksChange": true,
"hooks": [
31,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We don't have that many hooks. Highest index is 29. It should probably be 28 since that's the index of the React.useSyncExternalStore call.

@blazejkustra
Copy link
Contributor

This can be closed now; it has been fixed in #34547

@eps1lon eps1lon closed this Oct 22, 2025
@eps1lon eps1lon deleted the devtools/hook-changed-mismatch branch October 22, 2025 14:02
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