Skip to content

Can we provide a better error recovery in the studio? #6704

@JonnyBurger

Description

@JonnyBurger

Let's say we are in NewVideo.tsx

We add trimBefore={-20} to the <Video> tag

We get a fullscreen error overlay.

When we fix the error in the code, then the Studio reloads.

I wonder if we can do better by calling onUncaughtError?

https://react.dev/reference/react-dom/client/createRoot

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