Hello,
I can't make it work in a fresh create-react-app project. Regardless of what I tried, the console log no error but the screen stays blank. Also, the div react-pdf__Document is always empty. It is the same problem than here : https://github.com/diegomura/react-pdf/issues/236
Do you have any idea why ?

It doesn't seem like you are rendering any Page components. So your document is loaded successfully, but its pages are not actually rendered. I'd suggest to read up here. It will probably solve your problem.
Thanks for your input. I managed to solved my problems thanks to it!
Most helpful comment
It doesn't seem like you are rendering any
Pagecomponents. So your document is loaded successfully, but its pages are not actually rendered. I'd suggest to read up here. It will probably solve your problem.