Skip to content

Please individually package react-error-overlay's utils #12833

@ianstormtaylor

Description

@ianstormtaylor

Is your proposal related to a problem?

I feel like the ecosystem would benefit from the frame/stack/parsing logic in react-error-overlay being packaged up as helpers people can use directly, instead of inline inside the error overlay code.

Next.js and Create React App have good error reporting, and pretty much everything else doesn't, even big projects like Vite. And I think part of the reason is because the logic to print nice errors, editor links, frame context, etc. is super convoluted.

If those internal utils were packaged nicely, so people can style them for their own purposes it would greatly benefit the ecosystem—it's probably one of the biggest DX levers that could be easily pulled.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions