Creating PDFs from HTML in React and Next.js

Learn how to generate PDFs from HTML content using JavaScript in React and Next.js, utilizing three different tools including html2pdf.js.

Colby Fayock64.8K views23:38

About this video

Generate a PDF from HTML using JavaScript in React and Next.js. Learn how to convert HTML to a PDF using 3 different tools including html2pdf.js that allows us to convert an HTML tree to a PDF, React PDF to render a PDF, and Puppeteer to generate a PDF from a live page. We'll even see how we can set up an authenticated session in Puppeteer in Clerk to generate a PDF from private data. Get exclusive access to my upcoming course: https://spacejelly.dev/nextjs 🧰 Resources Tutorial: https://spacejelly.dev/posts/generate-a-pdf-from-html-in-javascript Code: https://github.com/colbyfayock/my-pdf 📺 YouTube: https://youtube.com/colbyfayock?sub_confirmation=1 🐦 Twitter: https://twitter.com/colbyfayock 📹 Twitch: https://twitch.tv/colbyfayock ✉️ Newsletter: https://www.colbyfayock.com/newsletter/ https://github.com/eKoopmans/html2pdf.js/issues/659 https://github.com/eKoopmans/html2pdf.js/issues/466 https://clerk.com/docs/backend-requests/handling/manual-jwt https://clerk.com/docs/custom-flows/embedded-email-links 🎥 What I Use: https://www.colbyfayock.com/uses #colbyfayock #pdf #javascript #nextjs #reactjs #webdevelopment
4.7

12 user reviews

Write a Review

0/1000 characters

User Reviews

0 reviews

Be the first to comment...

Video Information

Views
64.8K

Total views since publication

Likes
1.5K

User likes and reactions

Duration
23:38

Video length

Published
Aug 15, 2024

Release date

Quality
hd

Video definition

Related Trending Topics

LIVE TRENDS

This video may be related to current global trending topics. Click any trend to explore more videos about what's hot right now!

THIS VIDEO IS TRENDING!

This video is currently trending in Morocco under the topic 'météo demain'.

Share This Video

SOCIAL SHARE

Share this video with your friends and followers across all major social platforms including X (Twitter), Facebook, Youtube, Pinterest, VKontakte, and Odnoklassniki. Help spread the word about great content!