Adding React Component to PDF without having it in the dom

烈酒焚心 提交于 2021-01-29 10:16:27

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!