complete-intro-to-react-v8
complete-intro-to-react-v8 copied to clipboard
Wrapping `<App />` around `<ErrorBoundary>`
Hi Brain! I love the React course! :)
One question in part Error Boundaries. When I try the ErrorBoundary
as you suggested like this:
root.render(
<ErrorBoundary>
<App />
</ErrorBoundary>
);
then it does not work. It doesn't catch any errors.
In DEV tools, there is only an uncaught Error: