How to upload an image with redux-form?

Posted by Andre Scott | Updated on

Want to upload an image with redux-form? I recently had a similar issue and solved it by using the FileReader API to convert the blob url to Base64 (can also convert to binary string).

Then you send the Base64 or binary string to the server.

Here is an example code:

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers