-
Notifications
You must be signed in to change notification settings - Fork 47k
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
[Fiber/DevTools] Stop injecting findHostInstanceByFiber #30519
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
f6f2cde
to
f3d2e65
Compare
Comparing: 87b1a94...af3ca9d Critical size changesIncludes critical production bundles, as well as any change greater than 2%:
Significant size changesIncludes any change greater than 0.2%: Expand to show
|
This is not used by DevTools since it has its own implementation of it. This function is getting removed since `findDOMNode` is getting removed so we shouldn't keep around extra bytes unnecessarily. There is also `findHostInstancesForRefresh` which should really be implemented on the `react-refresh` side. Not using an injection but that's a heavier lift and only affects `__DEV__`. DiffTrain build for commit bea5a2b.
This is not used by DevTools since it has its own implementation of it. This function is getting removed since `findDOMNode` is getting removed so we shouldn't keep around extra bytes unnecessarily. There is also `findHostInstancesForRefresh` which should really be implemented on the `react-refresh` side. Not using an injection but that's a heavier lift and only affects `__DEV__`. DiffTrain build for [bea5a2b](bea5a2b)
I think we actually ended up never using that in any implementations so maybe it can just be removed. |
This is not used by DevTools since it has its own implementation of it.
This function is getting removed since
findDOMNode
is getting removed so we shouldn't keep around extra bytes unnecessarily.There is also
findHostInstancesForRefresh
which should really be implemented on thereact-refresh
side. Not using an injection but that's a heavier lift and only affects__DEV__
.