react/packages
Ruslan Lesiutin d66fa02a30
fix: use public instance in Fiber renderer and expose it from getInspectorDataForViewAtPoint (#31068)
React DevTools no longer operates with just Fibers, it now builds its
own Shadow Tree, which represents the tree on the Host (Fabric on
Native, DOM on Web).

We have to keep track of public instances for a select-to-inspect
feature. We've recently changed this logic in
https://github.com/facebook/react/pull/30831, and looks like we've been
incorrectly getting a public instance for Fabric case.

Not only this, turns out that all `getInspectorData...` APIs are
returning Fibers, and not public instances. I have to expose it, so that
React DevTools can correctly identify the element, which was selected.

Changes for React Native are in
[D63421463](https://www.internalfb.com/diff/D63421463)
2024-09-26 10:17:16 +01:00
..
dom-event-testing-library Add jest lint rules (#29760) 2024-06-10 14:31:37 -04:00
eslint-plugin-react-hooks Consider dispatch from useActionState stable (#29665) 2024-07-06 08:52:20 +02:00
internal-test-utils [flow] Upgrade Flow to 0.245.2 (#30919) 2024-09-09 08:41:44 -07:00
jest-react Don't minify symbols in production builds (#28881) 2024-04-20 11:23:46 -04:00
react [Fiber] Log the Render/Commit phases and the gaps in between (#31016) 2024-09-23 14:09:48 -04:00
react-art [Fiber] Track Event Time, startTransition Time and setState Time (#31008) 2024-09-20 14:27:12 -04:00
react-cache Start prerendering Suspense retries immediately (#30934) 2024-09-11 11:41:54 -04:00
react-client Resolve references to deduped owner objects (#30549) 2024-09-24 02:34:53 -04:00
react-debug-tools [lint] Add no-optional-chaining (#31003) 2024-09-19 13:42:49 -04:00
react-devtools React DevTools 5.3.1 -> 6.0.0 (#31058) 2024-09-25 14:38:34 +01:00
react-devtools-core React DevTools 5.3.1 -> 6.0.0 (#31058) 2024-09-25 14:38:34 +01:00
react-devtools-extensions React DevTools 5.3.1 -> 6.0.0 (#31058) 2024-09-25 14:38:34 +01:00
react-devtools-fusebox [DevTools] Separate RDT Fusebox into single-panel entry points (#30708) 2024-09-09 08:12:49 -04:00
react-devtools-inline React DevTools 5.3.1 -> 6.0.0 (#31058) 2024-09-25 14:38:34 +01:00
react-devtools-shared fix: use public instance in Fiber renderer and expose it from getInspectorDataForViewAtPoint (#31068) 2024-09-26 10:17:16 +01:00
react-devtools-shell lint: enable reportUnusedDisableDirectives and remove unused suppressions (#28721) 2024-06-21 12:24:32 -04:00
react-devtools-timeline React DevTools 5.3.1 -> 6.0.0 (#31058) 2024-09-25 14:38:34 +01:00
react-dom Make prerendering always non-blocking (#31056) 2024-09-25 16:31:44 -04:00
react-dom-bindings [Fiber] Fix missing render times when we cancel a pending commit (#31065) 2024-09-26 00:20:03 +02:00
react-is Don't minify symbols in production builds (#28881) 2024-04-20 11:23:46 -04:00
react-markup Publish experimental_renderToHTML (#30690) 2024-08-15 08:50:56 +02:00
react-native-renderer fix: use public instance in Fiber renderer and expose it from getInspectorDataForViewAtPoint (#31068) 2024-09-26 10:17:16 +01:00
react-noop-renderer [Fiber] Track Event Time, startTransition Time and setState Time (#31008) 2024-09-20 14:27:12 -04:00
react-reconciler [Fiber] Fix missing render times when we cancel a pending commit (#31065) 2024-09-26 00:20:03 +02:00
react-refresh [Fresh] Always reset useMemoCache on Fast Refresh (#30700) 2024-08-15 01:02:29 +01:00
react-server Resolve references to deduped owner objects (#30549) 2024-09-24 02:34:53 -04:00
react-server-dom-esm [Flight] Inject Client Into DevTools (#30910) 2024-09-09 15:11:57 -04:00
react-server-dom-fb Remove ReactFlightFB bundles (#28864) 2024-04-18 16:41:04 -04:00
react-server-dom-turbopack [Flight] Respect async flag in client manifest (#30959) 2024-09-13 16:33:05 -04:00
react-server-dom-webpack Resolve references to deduped owner objects (#30549) 2024-09-24 02:34:53 -04:00
react-suspense-test-utils (Land #28798) Move Current Owner (and Cache) to an Async Dispatcher (#28912) 2024-04-25 10:40:40 -07:00
react-test-renderer [Fiber] Track Event Time, startTransition Time and setState Time (#31008) 2024-09-20 14:27:12 -04:00
scheduler [flow] Upgrade Flow to 0.245.2 (#30919) 2024-09-09 08:41:44 -07:00
shared Add enableComponentPerformanceTrack Flag (#30960) 2024-09-16 11:09:40 -04:00
use-subscription Clean up enableUnifiedSyncLane flag (#30062) 2024-06-24 11:18:22 -04:00
use-sync-external-store Fixed useSyncExternalStoreWithSelector to update memoizedSnapshot on change (#25968) 2024-07-12 23:57:45 -04:00