Skip to content
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

CSVDownloader and Performance #52

Closed
Bunlong opened this issue Aug 14, 2020 · 0 comments
Closed

CSVDownloader and Performance #52

Bunlong opened this issue Aug 14, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Bunlong
Copy link
Owner

Bunlong commented Aug 14, 2020

react-papaparse v3.8.0

Draft 1

const jsonData = [
  ["firstname", "lastname", "email"],
  ["Ahmed", "Tomi", "ah@smthing.co.com"],
  ["Raed", "Labes", "rl@smthing.co.com"],
  ["Yezzi", "Min l3b", "ymin@cocococo.com"]
]

<CSVDownloader data={jsonData} target="_blank">Download</CSVDownloader>

Draft 2

const str = `Column 1,Column 2,Column 3,Column 4
1-1,1-2,1-3,1-4
2-1,2-2,2-3,2-4
3-1,3-2,3-3,3-4
4,5,6,7`

<CSVDownloader data={str} target="_blank">Download</CSVDownloader>
@Bunlong Bunlong added the enhancement New feature or request label Aug 14, 2020
@Bunlong Bunlong self-assigned this Aug 14, 2020
@Bunlong Bunlong changed the title Improve performance CSVDownloader and Performance Aug 30, 2020
@Bunlong Bunlong closed this as completed Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant