How to generate PDF with React components?


#1

Hello everyone,
I’m working on an application using Meteor+React and I want to generate a PDF file of a selected React component,
I used jspdf:core and new3rs:html2canvas in order to create the PDF file from the current HTML, but I have a problem when I try to create the PDF from a canvas with a tainted elements.
Is there a solution for tainted canvas elements or any way to generate PDF file using React components?
and thank you,
please forgive my poor english.