deno: react-pdf pitfall
If you are using deno+hono and react-pdf to create pdfs, do not use the default import like the docs of react-pdf say.
Instead of
do
I can't believe I wasted 3 hours trying to fix this :facepalm:
---
PS: Do not try to use
renderToStream
, it is not compatible with hono's stream helper, just write the buffer directly
0 Replies