Error: TypeError When "use client" Directive is Defined But createContext is Still Required in Next
Unanswered
Barbary Lion posted this in #help-forum
Barbary LionOP
If the files including the hook have "use client" defined at the top, what could cause a "TypeError: createContext only works in Client Components" when I'm not using it? For more information, refer to this link: https://nextjs.org/docs/messages/context-in-server-component