simple-image
simple-image copied to clipboard
Don't use base64 for the URL
Whilst it's sometimes nice to have it base64 available, it massively increases the amount of memory the component uses in the browser because it is already displaying the decoded image as well as storing a large duplicate of the image as the URL.
The preference should be to use Blob URL's that can be converted to base64 if needed via a utility function, or lazy access.