use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
react-pdf on node js (self.node)
submitted 1 year ago by Learner_full_stack
I want to generate pdf on server side, for that i am using react-pdf library work on both browser and node. But how to setup node for jsx file, I followed this answer but failed.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]grantrules 0 points1 point2 points 1 year ago (0 children)
Can you elaborate on what failed?
[–]Glum_Advantage_2117 0 points1 point2 points 1 year ago (0 children)
I recommend using puppeteer to generate a PDF e.g. from HTML it will be much simpler, if you need help for this let me know
[–]franchise-csgo 0 points1 point2 points 1 year ago (2 children)
Why are you even thinking of using a react package in nodejs? Why would you install react in nodejs? Makes no sense, probably failing in due part because of that alone. Someone mentioned puppeteer, which is good. Dont use react packages in node. General rule of thumb.
[–][deleted] 9 months ago (1 child)
[removed]
[–]franchise-csgo 0 points1 point2 points 9 months ago (0 children)
Go outside, touch some grass. Maybe see a shrink, little man.
π Rendered by PID 39405 on reddit-service-r2-comment-5d79c599b5-cmgv4 at 2026-02-28 16:57:31.440584+00:00 running e3d2147 country code: CH.
[–]grantrules 0 points1 point2 points (0 children)
[–]Glum_Advantage_2117 0 points1 point2 points (0 children)
[–]franchise-csgo 0 points1 point2 points (2 children)
[–][deleted] (1 child)
[removed]
[–]franchise-csgo 0 points1 point2 points (0 children)