Skip to content

Server Error TypeError: react.createContext is not a function #2800

Answered by JoviDeCroock
singh-jay asked this question in Q&A
Discussion options

You must be logged in to vote

yes, urql uses context 😅 just like a lot of other libraries as soon as a library imports createContext it crashes React server components. You can create the client from @urql/core to get stuff without context but because the library imports createContext it fails in Next 13 not much we can do about that tbh...

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@singh-jay
Comment options

@SushiWaUmai
Comment options

@jmfury
Comment options

@cordial
Comment options

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
5 participants
Converted from issue

This discussion was converted from issue #2799 on November 11, 2022 18:09.