You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure what has changed but it's a little guidance on what might cause this could be useful. It seems like this project is infinitely requesting the PDF from the URL. My initial feeling was that this might be a defect on your side but I can't seem to see any changes that came into my project from you which leads me to believe maybe I'm returning data in a different way and it results in this behavior and I was hoping that you might point me in the right direction?
What are you trying to achieve? Please describe.
I have an existing application that uses this project to display PDF's that I have stored in S3. Haven't made any changes here that I'm aware of. pretty bland/straight-forward:
first part of my process is I request a pre signed URL that I normally pass here for PDFurl but to simplify things I just hard-coded the URL. If I take the pre-signed URL it opens and downloads fine however the above code seems to make an infinite amount of request to receive the PDF. All of them returning a status 200 and I have to reload the page to get it to stop.
I have also confirmed that my code isnt setting the state of the application more than once.
Environment
Browser: Chrome Version 81.0.4044.138 (Official Build) (64-bit)
React-PDF version "react-pdf": "^4.1.0",
React version [e.g. 16.3.0]: "react": "^16.12.0",
The text was updated successfully, but these errors were encountered:
I'm not sure what has changed but it's a little guidance on what might cause this could be useful. It seems like this project is infinitely requesting the PDF from the URL. My initial feeling was that this might be a defect on your side but I can't seem to see any changes that came into my project from you which leads me to believe maybe I'm returning data in a different way and it results in this behavior and I was hoping that you might point me in the right direction?
What are you trying to achieve? Please describe.
I have an existing application that uses this project to display PDF's that I have stored in S3. Haven't made any changes here that I'm aware of. pretty bland/straight-forward:
Describe solutions you've tried
first part of my process is I request a pre signed URL that I normally pass here for PDFurl but to simplify things I just hard-coded the URL. If I take the pre-signed URL it opens and downloads fine however the above code seems to make an infinite amount of request to receive the PDF. All of them returning a status 200 and I have to reload the page to get it to stop.
I have also confirmed that my code isnt setting the state of the application more than once.
Environment
"react-pdf": "^4.1.0",
"react": "^16.12.0",
The text was updated successfully, but these errors were encountered: