Uploading and reading CSV files

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.

<ReactFileReader handleFiles={this.handleFiles} fileTypes={'.csv'}>

<button className='btn'>Upload</button>


handleFiles = files => {

var reader = new FileReader();

reader.onload = function(e) {

// Use reader.result





If FileReader is not working, use window.FileReader.