Skip to content

Preact compatibility with next-urql #1069

Answered by danjebs
alxclark asked this question in Q&A
Discussion options

You must be logged in to vote

@alxclark Oh man!! After spending all day wrestling with this, I finally created a minimal repo and came here to post the same question and found this discussion 🤦

I think the mjs issue can be patched using https://github.com/lukeed/webpack-modules. And then use the same approach as the Apollo example (hat tip to @erickm for this) to get SSR working 🎉

My minimal working repo in the workaround branch: https://github.com/danjebs/next-preact-urql/tree/workaround

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by JoviDeCroock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants