Skip to content

Add error boundaries to the widgets screens #33620

@talldan

Description

@talldan

What problem does this address?

Some users are reporting JavaScript errors and white screens when loading the new widget screens in 5.8.

What is your proposed solution?

I couldn't see any existing implementation, but it'd be good to add ErrorBoundary components to help users debug those kind of issues. This is what the post editor does when a JavaScript error occurs:
Screenshot 2021-07-22 at 11 09 43 am

The Customizer implementation might be a little different, that might need some design input.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions