How to extract data to React state from CSV file using Papa Parse?

前端 未结 3 1282
温柔的废话
温柔的废话 2020-12-30 14:24

I\'m using Papa Parse to parse a CSV file for Graphs. I want to store the data in React state after the file is parsed. Papa.Parse() doesn\'t return anything and results are

3条回答
  •  鱼传尺愫
    2020-12-30 14:58

    You can try react-papaparse for an easy way. For more detail about react-papaparse please visit react-papaparse. Thanks!

提交回复
热议问题