Skip to content

teziapp/react-pdf-wasm

Repository files navigation

react-pdf-wasm

if you are here you already know about react-pdf

you probably don't need this lib, most of the things can be easily done by react-pdf itself!

react-pdf-wasm is wasm-pdf wrapped in web worker with exposed api similar to react-pdf for simplicity

motivation/reasons:

  • working with large data or complex nested logic pdf blocks the main ui thread and app crashes especially with low end devices
  • wanted more faster creation of pdf
  • want to learn about wasm and rust

limitations:

  • can't pass nested function object, not supported by web-worker

other explored solutions:

Releases

No releases published

Packages

No packages published