ReactPDF.render() error: __WEBPACK_IMPORTED_MODULE_1__react_pdf_renderer__.f.render is not a function

I've been working on pdf generation that can generate pdf files from HTML with minimum memory size. I found this package https://react-pdf.org/

When I try to render the live preview with ReactPDF.render(<Component/>) it throws error __WEBPACK_IMPORTED_MODULE_1__react_pdf_renderer__.f.render is not a function

Anyone know why or what's the alternative way to generate pdf from HTML with minimum memory size?



Read more here: https://stackoverflow.com/questions/66271259/reactpdf-render-error-webpack-imported-module-1-react-pdf-renderer-f-ren

Content Attribution

This content was originally published by SantanaJo at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: