Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

340
Views
How to nicely generate and display a picture of a PDF on the screen using React-PDF?

I am trying to create a user-interface in Javascript (React) that allows users to generate PDFs on the screen. The idea is having input boxes on the left, which when filled in, immediately populate the fields on the PDF on the right.

I am currently using react-pdf to build the document, and the <PDFViewer> class to render the document on the screen.

Problem:

(1) Generating the PDF can take a few moments causing an unattractive delay for the users, and (2) the rendering of the PDF on the screen is problematic because it changes based on the internet browser, whether adobe is installed, and much more. I have spent the better part of a week trying to find any packages on npm or any Github repo that has done anything similar, but most examples do not involve the documents being modified and rendered on the screen.

Question:

Is there a way to render the document as an image or some other way, similar to how react-pdf does in this example? The only difference is that users would not be interacting with the code, but filling in details in a nicely displayed input field instead. Again, the objective is to avoid long rendering times, and have control over how the document is displayed on the screen given that users can have different browsers

Thanks!

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Might this be of use? I've found it very flexible and relatively easy to get working. https://www.npmjs.com/package/suneditor-react

-Edit-

Here's a link to a nice demo as suggested by: https://stackoverflow.com/users/10802527/k-j

http://suneditor.com/sample/index.html

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!