Next.js Discord

Discord Forum

Best way to fetch, create and update data in Next.js 13 App router

Unanswered
Brewer's Blackbird posted this in #help-forum
Open in Discord
Brewer's BlackbirdOP
What is the most typesafe way to fetch or mutate data?

Should I use route handlers to create my own api? Should I use server actions?

Would you recommend using "pingdotgg/zact" for server actions?

I'm just curios but can I use server actions to get data from database (fetch)?

0 Replies