Live preview with React, Html2Canvas and JsPDF

From your question I understand that you don’t need jspdf for live preview as you just need to display image of the resume created using html2canvas. Check the implementation here

jspdf is only required when you need to download it as pdf then you can convert the image generated by html2canvas to pdf using jspdf


To hide the HTML elements and only show the canvas you can try something like this.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top