[Devtools] add selectNodeWithViewData to agent#406
Conversation
Greptile SummaryAdded
Confidence Score: 0/5
Important Files Changed
|
| import type { | ||
| TouchedViewDataAtPoint, | ||
| } from './ReactNativeTypes'; |
There was a problem hiding this comment.
syntax: import path ./ReactNativeTypes doesn't exist in this package - this will cause compilation to fail
ReactNativeTypes.js only exists in packages/react-native-renderer/src/. Either create this file locally or update the import path.
Prompt To Fix With AI
This is a comment left during a code review.
Path: packages/react-devtools-shared/src/backend/agent.js
Line: 23:25
Comment:
**syntax:** import path `./ReactNativeTypes` doesn't exist in this package - this will cause compilation to fail
`ReactNativeTypes.js` only exists in `packages/react-native-renderer/src/`. Either create this file locally or update the import path.
How can I resolve this? If you propose a fix, please make it concise.| import type { | ||
| TouchedViewDataAtPoint, | ||
| } from './ReactNativeTypes'; |
There was a problem hiding this comment.
syntax: import path ./ReactNativeTypes doesn't exist in this package - this will cause compilation to fail
ReactNativeTypes.js only exists in packages/react-native-renderer/src/. Either create this file locally or update the import path.
Prompt To Fix With AI
This is a comment left during a code review.
Path: packages/react-devtools-shared/src/bridge.js
Line: 12:14
Comment:
**syntax:** import path `./ReactNativeTypes` doesn't exist in this package - this will cause compilation to fail
`ReactNativeTypes.js` only exists in `packages/react-native-renderer/src/`. Either create this file locally or update the import path.
How can I resolve this? If you propose a fix, please make it concise.|
This pull request has been automatically marked as stale. If this pull request is still relevant, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize reviewing it yet. Your contribution is very much appreciated. |
|
Closing this pull request after a prolonged period of inactivity. If this issue is still present in the latest release, please ask for this pull request to be reopened. Thank you! |
Mirror of facebook/react#35601
Original author: sbuggay
Summary
selectNode does not send any additional view data when an element is selected in the inspector. This change adds
selectNodeWithViewDatawhich let's React Native DevTools understand more about the view and it's component hierarchy.How did you test this change?
Tested in an E2E flow that leverages
selectNodeWithViewDatain order to send view data to RNDT.