I have a report and I'm mounting this report using my application state data only. I format my data, and display it into a table.
Users should have the option of Downloading this data as CSV. I think creating a New API endpoint for this would be overkilling. Then I was thinking about exporting this in client-side, converting the JSON into CSV and sending this as a download to the user.
Is it a bad practice??? Should I use back-end rain or shine?