As the title describes, I am using react-pdf to render a link to download a PDF via clicking a <PDFDownloadLink>
link.
This all works great within my localhost server, however after running react-app-rewired build
and deploying to my environment, it doesn't appear to be working...
Usage in my component
<PDFDownloadLink
className="pdf-link"
document={<MyPDF {...{customerDetails}} />}
fileName="your-summary.pdf"
>
Download summary
</PDFDownloadLink>
Render on my localhost server (express server):
Render on my environment after going through the build process:
It appears that the href blob isn't being tagged in the build version...