---
title: "Discussion on \"Creating PDFs with React\" | Hashnode"
description: "Discussion on \"Creating PDFs with React\". Table of Contents\n\nTools & Packages\nSetting up the project\nRendering React Components to HTML String\nPuppeteer\nCreating pdf\nFinishing the code\nRunning the code\nFinished Code\n\nMotivation\nCreating PDFs using Puppeteer and some templating engine is rath..."
url: "https://hashnode.com/posts/creating-pdfs-with-react/5fb77a7b08ea5d7167d7103d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Creating PDFs with React](https://tolga.hashnode.dev/creating-pdfs-with-react?utm_source=hashnode&utm_medium=feed)

Table of Contents Tools & Packages Setting up the project Rendering React Components to HTML String Puppeteer Creating pdf Finishing the code Running the code Finished Code Motivation Creating PDFs using Puppeteer and some templating engine is rath...

Nov 20, 2020 · 8 min read · tolga.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#web](https://hashnode.com/tag/web)
-   [#pdf](https://hashnode.com/tag/pdf)

## Written by

[Tolga Erdönmez](https://hashnode.com/@tolgaerdonmez)

@tolgaerdonmez

  
[View profile](https://hashnode.com/@tolgaerdonmez)

Developing new things!

I'm a student, developer &amp; guitarist! I love developing apps and useful tools that eases your life!

## Responses 1

Markdown supported · ⌘↵ to post

[Pacharapol Withayasakpunt](https://hashnode.com/@polv)

[Nov 21, 2020](https://hashnode.com/posts/creating-pdfs-with-react/5fb77a7b08ea5d7167d7103d/comment/5fb85d120ae19203f6d92354)

There is also React Native-like PDF generation- [https://github.com/diegomura/react-pdf](https://github.com/diegomura/react-pdf)

Also, all of Puppeteer, [Electron PDF](https://www.npmjs.com/package/electron-pdf), PhantomJS, wkhtmltopdf, all can sleep for a while, waiting for JavaScript to render HTML.

[Tolga Erdönmez](https://hashnode.com/@tolgaerdonmez)

[Nov 21, 2020](https://hashnode.com/posts/creating-pdfs-with-react/5fb77a7b08ea5d7167d7103d/comment/5fb85d120ae19203f6d92354#reply-5fb8b6850ae19203f6d926e0)

I didn't know the react-pdf module, that looks awesome!
