Code to convert a HTML file into PDF in ReactJS

I need to download a HTML file in PDF format. I tried some plugins but that doesn’t work. I need help.

import React from ‘react’;
class App extends React.Component {
//code need to be written
render() {

return (



export default App;

Beginner Asked on May 4, 2018 in Software.
Add Comment
1 Answer(s)

You may try with Win2PDF. To convert HTML files to a PDF document, you will just need to open and print to Win2PDF using your browser.  First of all, open the HTML file or load the web site page in your browser window.  Then select ‘Print…’ from the web browser’s File menu. You will then be able to convert the HTML web page to a PDF copy of the page on your local hard drive.  Here you can check my best essay service to having a wonderful support for your composing works.

Beginner Answered on June 8, 2018.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.