Repository navigation
App crashes on form submission errors despite error handling #9843
Replies: 1 comment
|
Hi @jason-ezenwa, This crash happens due to a combination of how TanStack Query handles errors, asynchronous Promise semantics, and response parsing. Here is a diagnosis of the root causes and how to fix them. 1. Root CausesA.
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Description
The application crashes when form submission encounters errors, even though error handling is implemented. This occurs despite having proper try-catch blocks and TanStack Query error handling.
Expected Behavior
Current Behavior
i am using v5.90.6
All reactions