react-csv
react-csv copied to clipboard
Async Data
Well, async isn't quite an async ne, as the data needs to be preloaded before clicking the download button.
I'm trying to download the date when the user clicks to download, I make the request and then return the date. The way it is, I necessarily have to make the request when loading the page, and the user is not necessarily going to export the table.
This package react-csv-downloader is working for me.
Thanks @Nomango, react-csv-downloader worked fine for me.