Closed itsmitul closed 4 years ago
Probably because you need to alias this require path to whatever the Preact alternative is:
Closing because this issue is not specific to this particular repo, and also because Preact support for graphql-react
was not a goal. Please share if you are able to get it working though; if there is anything easy we can do to better support Preact let us know!
While using next-graphql-react on nextjs along with Preact, I am getting the following error:
UnhandledPromiseRejectionWarning: Error: Cannot find module 'react-dom/server.node'