Reputation: 703
When working with React and Express.js, it is recommended to convert image blob files into base64 format. Is there any specific reason why we need to do it this way?
Upvotes: 1
Views: 514
Reputation: 148
You don't need to convert it to base64, actually it adds 33% size overhead so I believe it is not recommended way to upload data to the backend. Use http multipart instead.
Upvotes: 2