Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Async Data #369

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Kaique292 opened this issue Aug 10, 2023 · 3 comments
Open

Async Data #369

Kaique292 opened this issue Aug 10, 2023 · 3 comments

Comments

@Kaique292
Copy link

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.

@Nomango
Copy link

Nomango commented Sep 5, 2023

Same issue.

I made a sandbox here. It always download before the done function execution.

@Nomango
Copy link

Nomango commented Sep 5, 2023

This package react-csv-downloader is working for me.

@tiagogaf
Copy link

Thanks @Nomango, react-csv-downloader worked fine for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants