FastUI icon indicating copy to clipboard operation
FastUI copied to clipboard

Error boundaries

Open samuelcolvin opened this issue 2 years ago • 1 comments

To catch errors e.g. when invalid components are returned from the backed.

https://www.npmjs.com/package/react-error-boundary

samuelcolvin avatar Dec 01 '23 19:12 samuelcolvin

The point is we should catch errors, print a summary to the console, and use setError to display a notice to the user that there's been an error.

samuelcolvin avatar Dec 01 '23 20:12 samuelcolvin