Ā© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•13mo ago•
8 replies
Rice Cultivator

Best Practices using NextJS

What's good practice when sending data from a form on a protected page?

Do I simply create a supabase client and validate the user on the component itself?

Or do I pass the data to an action on the actions.ts file and send the data to my database there?

Thanks. I'm pretty stuck on this.

I would like some insights!
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Branching Best Practices
SupabaseSSupabase / help-and-questions
3mo ago
Database recovery and best practices
SupabaseSSupabase / help-and-questions
5mo ago
Best practices for Staging env
SupabaseSSupabase / help-and-questions
3y ago
Postgres Best Practices Skill Exceeds limits
SupabaseSSupabase / help-and-questions
2w ago