react

Generate Dynamic PDF Invoices Using React and React-PDF

Introduction Generation of reports is a core feature in most applications. When developing for the web, one may opt to generate reports using HTML/CSS or PDF. In situations where HTML/CSS reports require emailing to third parties, these reports are exported to various formats one of them being PDF. It is therefore advantageous where the initial report generation is in PDF format as this will not require any exporting. In this post, we step through the process of generating a simple dynamic PDF invoice using React and react-pdf by Diego Muracciole.