Skip to main content
1 vote
1 answer
124 views

I'm trying to understand react-error-boundary better but from what I see in the documentation I can do exactly the same thing with either only one takes a function as a parameter and the other one ...
Sathania's user avatar
  • 109
0 votes
1 answer
64 views

I have read the docs and many posts (here and elsewhere) on this subject with no joy thus far It's a TypeScript Electron app built with Electron-Vite app, developed in VS Code // package.json "...
Joseph Beuys' Mum's user avatar
0 votes
1 answer
140 views

I'm using an Error Boundary in my React application to catch errors in child components. However, whenever an error occurs, the entire component tree under the Error Boundary gets replaced by the ...
meg's user avatar
  • 123
1 vote
0 answers
167 views

I have a component- const DataMonitor = () => { throw new Error("Test Error"); return ( <div>Hello</div> ) }; export default DataMonitor; In my ...
meg's user avatar
  • 123
2 votes
0 answers
310 views

I am encountering an issue while trying to run my React Native application on Android using the command: react-native run-android The build fails with the following error: Could not determine the ...
Manan Bhasin's user avatar
0 votes
1 answer
219 views

In an "offline-first" app (which optimistically updates local state and gracefully handles errors by rolling back local state changes, for example), some features may still require internet ...
Audiopolis's user avatar
1 vote
1 answer
748 views

I am trying to wrap my head around how to conveniently work with data fetching in Next.js 15 (app router) using Suspense and ErrorBoundary. Below please find my current approach. This works fine. But ...
Ben's user avatar
  • 16.8k
1 vote
0 answers
66 views

I have an app that using open api yaml + axios. I create an customInstance for API call, the function is : export const customInstance = async <T>( config: AxiosRequestConfig ): Promise<T&...
Maffia999's user avatar
1 vote
0 answers
61 views

I use the react-error-boundary library, is there no way to make a global error component in it, so that when any component breaks, an error component is substituted instead, while IT is IMPORTANT that ...
user26486954's user avatar
1 vote
1 answer
606 views

I hope someone might be able to help. I have this page structure in my NextJS 14 app: app/ (admin)/ layout.tsx (web)/ layout.tsx page.tsx not-found.tsx Note that ...
Gilles's user avatar
  • 21
0 votes
1 answer
1k views

Tried to use the error boundary handling feature of nextJS in this project. While it redirects to the error component, I get errors on the console. This is my test component where I force an error. ...
Sammonnay Sarcar's user avatar
3 votes
0 answers
892 views

Currently when an error occurs while nextjs is rendering a page on the server side I can see in the browser network tab a document request that is getting a status 500 response and a white page with ...
anvin's user avatar
  • 600
0 votes
0 answers
1k views

All of our fetch work is being done in server components. When a fetch fails, we throw an error in a server component: // MyServerComponent making the fetch call try{ fetch(.....) }catch(e){ ...
user19448827's user avatar
0 votes
1 answer
510 views

enter image description here const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement); root.render( <React.StrictMode> <ErrorBoundary fallback={<...
D uuu's user avatar
  • 1
1 vote
0 answers
1k views

Installed dependencies @tanstack/react-query: "^4.29.5" react-error-boundary: "^4.0.13" I can't seem to get Error boundaries working. I've stripped down my components to be the ...
beeboop's user avatar
  • 51

15 30 50 per page
1
2 3 4 5
8