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

Maybe it would be better to make jsonToCSV also work like a pure function.

Open s5s5 opened this issue 3 years ago • 1 comments

Hi, thanks for your great work, I have a problem when I upgraded from V3 to V4. I used jsonToCSV as a pure function in V3 and he worked fine, but upgrading to V4, jsonToCSV became a hook, which restricts it and it can't be used in I suggest to put jsonToCSV and some other pure functions without restricting it to a hook. Thanks.

s5s5 avatar Jun 23 '22 03:06 s5s5

@s5s5 Okay, I got it. I'm going to add jsonToCSV as a pure function in next version in next week. Thanks!

Bunlong avatar Jun 23 '22 17:06 Bunlong