问题
I've for the past many weeks trying to add a react component to a PDF without showing it in the DOM. I've tried to convert it to canvas, but that doesn't work since it is not shown in the Dom and therefor cant be found. So I'm searching for a way to add it to the PDF without rendering it. Would be appreciated if someone could help me with a way to do that.
来源:https://stackoverflow.com/questions/55791690/adding-react-component-to-pdf-without-having-it-in-the-dom