Render directly from Redux failed: Uncaught Runtime Error: "could not find react-redux context value; please ensure the component is wrapped in a <Provider>" #2621
Unanswered
AmadaWeldTechEU
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am trying to firgure out how to use this lib in my project. At first I tried to render the state directly from redux store into a react-pdf component and it didn't worked(Shows the error in the title). I am quite sure the configuration of my redux store and provider are both correct. Then I passed the state from the father component above the pdf component and the and get the access of the parameter via props and it worked.
I don't know if it should be considered as an error or a bug, but I was wondering how the PDFViewer and PDFDownloadLink are rendered. Could anyone explain this to me? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions