edge icon indicating copy to clipboard operation
edge copied to clipboard

Add error boundaries (React v16) to all routes when using routed()

Open swernerx opened this issue 8 years ago • 0 comments

In React v16 there is a new feature which tries to keep the overall application running when a single part of the view is crashing. This feature can be used in the applications where needed but I figure it would make sense to sandbox all routes (and views) to not kill the whole application when something on the view crashes.

As most applications of the Edge platform use the routed function from edge-core right now it might be sensible to add the behavior of error boundaries to this method.

See also: https://reactjs.org/blog/2017/07/26/error-handling-in-react-16.html

swernerx avatar Nov 21 '17 08:11 swernerx