Why would you use base64 when you can use FormData? Looks more like an argument against using refine to begin with.
FormData
Hi Thomas, This is just a simple example written to show what base64 is and how it is used. Of course there are different ways to do this. refine does not only upload files with base64, this is just one of its features.
I agree, this is what FormData is for. base64 generally shouldn’t be used for file uploads.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Why would you use base64 when you can use
FormData?Looks more like an argument against using refine to begin with.
Hi Thomas, This is just a simple example written to show what base64 is and how it is used. Of course there are different ways to do this. refine does not only upload files with base64, this is just one of its features.
I agree, this is what FormData is for. base64 generally shouldn’t be used for file uploads.