Skip to content

refactor[devtools]: highlight an array of elements for native#27734

Merged
hoxyq merged 1 commit intofacebook:mainfrom
hoxyq:devtools/highlight-array-of-elements-for-native
Nov 23, 2023
Merged

refactor[devtools]: highlight an array of elements for native#27734
hoxyq merged 1 commit intofacebook:mainfrom
hoxyq:devtools/highlight-array-of-elements-for-native

Conversation

@hoxyq
Copy link
Copy Markdown
Contributor

@hoxyq hoxyq commented Nov 21, 2023

We are currently just pass the first element, which diverges from the implementation for web. This is especially bad if you are inspecting something like a list, where host fiber can represent multiple elements.

This part runs on the backend of React DevTools, so it should not affect cases for React Native when frontend version can be more up-to-date than backend's. I will double-check it before merging.

Once version of react-devtools-core is updated in React Native, this should be supported, I will work on that later.

Loading
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