My task: I generate a PDF with react-pdf based on data in my app. Then I want to merge this generated PDF with an already existing PDF.
My problem: With react-pdf I can get access to the document's blob data, but as far as I understand, this file is not saved anywhere. However, all JS tools for merging PDFs I found, enable you to merge PDFs only if you pass paths to files.
Can you see any solutions to this problem? My idea was to save this generated PDF server-side, transform it somehow to PDF from BLOB, use some merging tool and then bring back the final merged PDF to client-side, but it seems quite (too?) complicated.