Throw more comprehensive error when rendering text outside `<Text />`
We should throw a clear error message when something like this happens:
<Document>
Hello world!
</ Document>
Hi, thank you for creating this great library. I would like to help this project to be perfect. How would you consider the Error boundary & criteria for this issue? Is the issue only related to situations when there are no <Page/> or <Text/> components present as children?
Hi @Sinakhx ! I'm not sure if error boundaries would work for this purposes, but maybe I'm wrong 😄 This is about not allowing text as children of any component that it's not <Text /> or <Link />
Hey @diegomura I could take a stab at it, I cloned the repo on my machine but couldn't find the instructions to setup up and run the project, am I missing something?
Hello @diegomura! I have been using React-PDF off-and-on for about a year and a half now, and I am looking for an OS project to help support (first time). Do you recall if this issue has been addressed yet? This issue sounds like this should be reasonable.