I am using react-error-boundary package to show the fall back UI in case application throws any errors. The package works fine for me. I need to understand how
The codepen linked to below, uses react-router and an error boundary to catch errors within each route. If you click on "Shop", the error is caught as expected