ErrorBoundary
stopped working after upgrading react-router-dom
#13248
Labels
added-to-sprint
kind/bug
Used when there is a defect / something is not working as it should.
status/triage
Description of the bug
The top-level
ErrorBoundary
stopped working after upgradingreact-router-dom
from6.18.0
to6.20.0
.A solution could be to use errorElement.
Steps To Reproduce
To display the
ErrorBoundary
, insert a JavaScript error into the code (e.g. throw new Error('Test'))Additional Information
No response
Tasks
The text was updated successfully, but these errors were encountered: