Never pass server-only data as props to client components
Props to client components are serialized as JSON and sent to the browser. Don't pass full database records with sensitive fields.
Why This Matters
Passing a full user object with email, role, internal IDs, or API keys as props exposes them in the client bundle.
Tags
nextjssupabase
Related Rules
Catch this automatically on every PR
BeforeMerge scans your pull requests against this rule and 2+ others. Get actionable feedback before code ships.