Skip to content

Nested error boundaries break the devtools #245

Description

@c43721

When you have a layout route with a child route that has an error boundary, the devtools will error the page when trying to add the outlet-route route class to a dom node when the classList is an ErrorBoundary. This results in the page loading, then immediately erroring.

Error:

Oops!
Cannot read properties of undefined (reading 'add')

TypeError: Cannot read properties of undefined (reading 'add')
Image

I only ever see this with RenderErrorBoundary as the name of the fiber node. To be honest, I'm not sure where to dissect this further.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions