I want to click the CSV download link after the data loaded from the server. I tried all the approaches from https://github.com/react-csv/react-csv/issues/237
const csvLinkRef = React.useRef<CSVLink & HTMLAnchorElement & { link?: HTMLAnchorElement }>(); <CSVLink ref={csvLinkRef} data={tableDataToDownLoadAsCSV} />
2.1m questions
2.1m answers
60 comments
56.8k users