[Solved!] TypeError: React.createContext is not a function (not using server components)
Solution found!
https://github.com/TanStack/query/issues/3595
Hello! Need some help debugging an error that appears to be originating from react-query.
Error:
Context:
Tried and experience this issue with nextjs
Nodejs:
React and React DOM: 18.2.0
I experience no issues in local dev mode, everything works flawlessly.
After deployment I see the above error.
https://github.com/TanStack/query/issues/3595
Hello! Need some help debugging an error that appears to be originating from react-query.
Error:
Context:
Tried and experience this issue with nextjs
12.3.4 and 13.5.6 (Not using experimental server components)Nodejs:
18.18.1@tanstack/react-query: 5.0.0@tanstack/react-query-devtools: 5.0.1React and React DOM: 18.2.0
I experience no issues in local dev mode, everything works flawlessly.
After deployment I see the above error.
_app.tsxQueryClientProvider.tsxGitHub
Describe the bug I have a monorepo with yarn 3 workspaces consisting of the following (as well as other components): contracts which uses Orval to create typed react-query hooks from OpenAPI ui, a ...