Using native fetch with Remix #7445
Unanswered
mashkovtsevlx
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The Problem
My app accepts the file input from the user.
I need to process this file in the client, and send the processed data to backend in chunks asynchronously (in multiple simultaneous fetch requests).
Server has to return the response to the client, which will be then processed by client (asynchronously as well).
I can't use useSubmit and useFetcher for this, so I have to use the native fetch. The only unknown for me here - is how to authenticate native fetch requests.
The questions
Beta Was this translation helpful? Give feedback.
All reactions