React – Error boundary not catching error – Reactjs
I have a component where I am fetching mock data. I am doing a query by using react-query with Suspense. I was following their docs. This is the component: export const WorkHistory = () => { const { caseId }…