Next.js Discord

Discord Forum

Best practices for live preview & pdf generation for resumeBuilder NextJS 14

Unanswered
Yellow croaker posted this in #help-forum
Open in Discord
Yellow croakerOP
Hello, everyone!

I'm working on a resume builder application using Next.js and could use some advice. My current focus is on implementing a live preview feature for the user's resume, along with a download option in PDF format.

So far, I've been experimenting with react-pdf for PDF generation, and I'm using Next.js's revalidatePath to update the UI for the live preview. However, I'm exploring the best practices for displaying a live preview of the resume. Specifically, I'm interested in:

1. Efficient Live Preview Techniques: What are the recommended methods or best practices for rendering a live preview of the resume? Are there any particular libraries or tools that work well with Next.js for this purpose? For example in React-pdf there is option to size The page to Be A4. Or is The only way to style The live preview resumes with tailwindcss?

2. PDF Generation and Download: While I'm currently using react-pdf, I'm open to suggestions if there are better alternatives for generating and downloading the resume as a PDF.

Any insights, experiences, or resource recommendations related to these topics would be greatly appreciated. Also, if anyone has come across tutorials or guides that cover similar functionalities, please do share!

Thank you in advance for your help!

0 Replies