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

Clean up findFiberByHostInstance from DevTools Hook #31711

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

sebmarkbage
Copy link
Collaborator

The need for this was removed in #30831

Since the new DevTools version has been released for a while and we expect people to more or less auto-update. Future versions of React don't need this.

Once we remove the remaining uses of getInstanceFromNode e.g. in the deprecated internal findDOMNode/findNodeHandle and the event system, we can completely remove the tagging of DOM nodes.

@sebmarkbage sebmarkbage requested a review from hoxyq December 9, 2024 19:56
Copy link

vercel bot commented Dec 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-compiler-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 9, 2024 7:58pm

@react-sizebot
Copy link

Comparing: 7283a21...be5cf17

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.js = 6.68 kB 6.68 kB = 1.83 kB 1.82 kB
oss-stable/react-dom/cjs/react-dom-client.production.js = 510.81 kB 510.76 kB = 91.43 kB 91.41 kB
oss-experimental/react-dom/cjs/react-dom.production.js = 6.69 kB 6.69 kB = 1.83 kB 1.83 kB
oss-experimental/react-dom/cjs/react-dom-client.production.js = 515.74 kB 515.69 kB = 92.14 kB 92.12 kB
facebook-www/ReactDOM-prod.classic.js = 595.67 kB 595.61 kB = 105.14 kB 105.12 kB
facebook-www/ReactDOM-prod.modern.js = 585.93 kB 585.88 kB = 103.57 kB 103.55 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against 97da824

@sebmarkbage sebmarkbage merged commit 3b597c0 into facebook:main Dec 10, 2024
184 checks passed
github-actions bot pushed a commit that referenced this pull request Dec 10, 2024
The need for this was removed in
#30831

Since the new DevTools version has been released for a while and we
expect people to more or less auto-update. Future versions of React
don't need this.

Once we remove the remaining uses of `getInstanceFromNode` e.g. in the
deprecated internal `findDOMNode`/`findNodeHandle` and the event system,
we can completely remove the tagging of DOM nodes.

DiffTrain build for [3b597c0](3b597c0)
github-actions bot pushed a commit that referenced this pull request Dec 10, 2024
The need for this was removed in
#30831

Since the new DevTools version has been released for a while and we
expect people to more or less auto-update. Future versions of React
don't need this.

Once we remove the remaining uses of `getInstanceFromNode` e.g. in the
deprecated internal `findDOMNode`/`findNodeHandle` and the event system,
we can completely remove the tagging of DOM nodes.

DiffTrain build for [3b597c0](3b597c0)
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