Accessing file content client-side #207
Answered
by
AnimeAllstar
AnimeAllstar
asked this question in
Q&A
-
So, I'm making this web app to manipulate pdfs client-side/locally and I'm using dropzone-ui-react to upload files. The onChange prop in doesn't really provide access to the file content for each file. Could someone help me out with how I can access the file content from the files client-side? Am I missing something? |
Beta Was this translation helpful? Give feedback.
Answered by
AnimeAllstar
Dec 22, 2021
Replies: 1 comment
-
I figured it out, turns out all you need to do is to use FileReader to read the files passed to the onChange function. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
AnimeAllstar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I figured it out, turns out all you need to do is to use FileReader to read the files passed to the onChange function.