can anyone answer this question

GitHub
Unhandled Runtime Error Error: Functions cannot be passed directly ...
Summary Provide environment information Operating System: Platform: windows Arch: x64 Node: 16.17.1 npm: 9.5.0 Yarn: N/A Relevant packages: next: 13.2.4 eslint-config-next: 13.2.4 react: 18.2.0 rea...
1 Reply
andersgee
andersgee2y ago
anything interactive like useState, onClick, useEffect etc must be client components looks like this person is trying to essentially do useState in a server component https://beta.nextjs.org/docs/rendering/server-and-client-components#when-to-use-server-vs-client-components
Rendering: Server and Client Components | Next.js
Learn how to use React Server and Client Components in your Next.js application.
Want results from more Discord servers?
Add your server