create-person endpoint. useMutation() - they are all the same call in the end. I add a onSuccess callback. The code looks something like this:createPerson() comes from a custom hook that returns useMutation() with a queryFn and some callbacks.Promise.allSettled(mutations) to wait for all requests and work display the results (errors or success toasts).pending causing my Promise.allSettled() to never trigger and causing my app to hang in an infinite "submitting" state although all API calls were made successfully. onSuccess on the actual mutate() call not firing (onError and onSettled also don't trigger). Does react-query do some sort of batching here? https://x.com/tan_stack/status/2031128535470104577?s=20
dry-scarlet ยท 7h ago
https://x.com/powersync_/status/2010721010006552775?s=20
dry-scarlet ยท 2mo ago
You can now submit your website/app/project to http://TanStack.com 's new showcase and have it seen by the TanStack community! - Global showcase browser - Per-library filters - Category filters Submit here: https://tanstack.com/showcase/submit View all here: https://tanstack.com/showcase
dry-scarlet ยท 3mo ago