Open rasteli opened 2 years ago
Hello, sorry, did you have any problem when you ran the command npm install '@react-pdf/renderer --save' with React 18.0.0 version?
I'm very new to React, and I'm trying to use React-pdf and I haven't been able to install the library.
This problem was discussed in https://github.com/diegomura/react-pdf/issues/736
Hello, sorry, did you have any problem when you ran the command npm install '@react-pdf/renderer --save' with React 18.0.0 version?
I'm very new to React, and I'm trying to use React-pdf and I haven't been able to install the library.
im using react 17 to run, i supose react-pdf does not support react18 yet.
Hi, there!
I'm generating a PDF document with dynamic data from a form. I've managed to render the document on the web successfully and, as soon as the data is entered, the document gets re-rendered with the new data.
PDF Document:
Document on the web:
The problem, though, is when I try to download the document, what I get is the one with none of the data. I get a blank page. I'm using the usePDF hook to get the instance and the url from it. I pass the url to the href property of an anchor tag.
I attempted to use the update function from the hook and the PDFDownloadLink component, but the same problem occurs. Does anyone have some idea on why this is happening?