Return to site
· React js,Upload,Read,web applications,CSV
broken image

Many packages are available which reads the react.js files but they don't seal with CSV files. The data must be parsed in a readable format. A react file reader and HTML reader can be used to render the file.

Upload

handleFiles = files => {

var reader = new FileReader();

reader.onload = function(e) {

// Use reader.result

alert(reader.result)

}

reader.readAsText(files[0]);

}

If FileReader is not working, use window.FileReader.Read more