You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I've to guess, this might be related to the fact that every exported function in a "use server" file is automatically a public API. This rule could prevent you from mistakenly expose a function to the client.
Can you please clarify why top level “use server” is considered bad?
The text was updated successfully, but these errors were encountered: