react-papaparse icon indicating copy to clipboard operation
react-papaparse copied to clipboard

v4.0.0

Open Bunlong opened this issue 4 years ago • 1 comments

Features

  • [x] Improve code performance
  • [x] Improve using styles ( Cascading Style Sheets )
    • [x] Props style
    • [x] Class style
  • [x] Rewrite any existing based components to hooks
    • [x] usePapaParse
      • [x] readString
      • [x] readRemoteFile
      • [x] jsonToCSV
    • [x] useCSVDownloader
      • [x] CSVDownloader
      • [x] Type
    • [x] useCSVReader
      • [x] ProgressBar
      • [x] CSVReader
        • [x] button
        • [x] drop
  • [x] Rewrite document

Release Date

January 18, 2022

Bunlong avatar Nov 29 '21 16:11 Bunlong

Hi @Bunlong, I found some problems with the type of useCSVReader after upgrading 4.0.

const { CSVReader } = useCSVReader()
// CSVReader is any

https://github.com/Bunlong/react-papaparse/blob/9e415b663ae5cbd619ecad3e9fde3ab161633213/src/useCSVReader.tsx#L599

It looks like to be forced to set any

Dreamacro avatar Jan 20 '22 06:01 Dreamacro