Open sheetalsindhu opened 9 months ago
Hey @sheetalsindhu, could you please delete your .next
directory? Wondering if it's a bad cache.
@sheetalsindhu add "use client" on the component with the create context only.
Then wrap the component in your layout or where you intend to use it
e.g this is a client auth provider
wrapped over other components
I got same error when i use @next/mdx, If this error occurs when you also use mdx, ensure mdx-components.tsx
is at the root of your project
I got the same error, after moving mdx-components.tsx
to the root of my project, I solved it.
I got the same error trying to migrate from Pages to App. I put the 'use client' at the beginning of my Context, but it doesn't work.
I got the same error trying to migrate from Pages to App. I put the 'use client' at the beginning of my Context, but it doesn't work.
Same here. @emotion/styled works perfectly in Pages but not the case in App
@wenzhen-gong I had this error when I started adding i18n. There were no problems when adding chakra-ui
What is the improvement or update you wish to see?
I am getting this error in my project, after updating each and every file with "use client" still exists
Is there any context that might help us understand?
"next": "13.4.13", "react": "^18.2.0",
Does the docs page already exist? Please link to it.
https://nextjs.org/docs/messages/context-in-server-component