After going through all the posts about FileReader, I've made sure I added the return statements and returned the elements after the reader onload, but still nothing shows up on the page. What else could be the problem at this point?
Code Snippet
function showImages() {
return Array.from(this.state.images).map(image => {
var reader = new FileReader();
reader.onload = function(e) {
return <Image key={image.name} src={"data:image/png;base64," + e.target.result} />
};
reader.readAsDataURL(image)
});
}