Skip to content

[React DevTools] Improve DevTools UI when Inspecting a Component that Throws an Error #24096

Closed
@lunaruan

Description

@lunaruan

In this issue, when you navigate to this app and inspect the sidebar in the components tab, you will get this error:

image

This is a user error. One of the components in the user's app thrown. However, the UI for this is confusing, because it seems like it's a DevTools error. We've gotten a lot of bug reports like this, and it would be good to differentiate between DevTools bugs and bugs in the app. For this task:

  • Build the React DevTools extension locally (instructions here) and reproduce the error
  • Figure out a way to have the front end be able to differentiate whether the error is a error within DevTools or within the user's app
  • Design/implement a better UI to help app developers distinguish between these two cases

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions