Wojciech Maj

Results 257 comments of Wojciech Maj

That is pretty damn sweet! Does it work with React-PDF 2.x? I'd be genuinely surprised, think 3.0.0 would be the first version to handle all of that correctly!

Have you tried react-virtualized as other folks here suggested?

Hello @nyamba, I'm not actively supporting nextjs as I don't have all the necessary knowledge. I can only give you one hint: You can manually [set workerSrc path to whatever...

I see nothing wrong with this code, apart from the fact it won't work with React-PDF 4.x, since there's no longer an option to run React-PDF without a Worker. All...

@RyanDriscoll You're looking at docs for the newer version of React-PDF than you're currently using. Read the docs for 4.1.0 here: https://github.com/wojtekmaj/react-pdf/tree/v4.1.0

> @wojtekmaj , I'm not seeing the esm or umd directories. I'm using version 4.1.0. You're looking at React-PDF 5.0 docs.

Please try 6.0.0 beta. Text rendering is completely changed in this version.

Hey @benoj, sorry for the late reply. There's nothing in your webpack config that raises my concerns. Is there any file in your output folder with `.worker.js` at the end?...

@benoj I don't know whether it's a pretty solution, but if it only affects your devServer, you can use [devServer proxy](https://webpack.js.org/configuration/dev-server/#devserver-proxy) for re-directing requests that are going wrong way.

Hmmm... I believe that all files dynamically imported by Webpack share the same logic, so you might have a problem with *all* bundles downloaded dynamically while being anywhere else but...