Skip to content
Discussion options

You must be logged in to vote

The "use server" is used for server actions only, it expects you to export an async function.

By default, Pages are considered as a server component, you don't have to specify use server at the top of the file

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Ra0R
Comment options

Answer selected by anarkrypto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants