nicoalbanese / kirimase

Build full-stack Next.js apps, incredibly fast
https://kirimase.dev
MIT License
2.58k stars 118 forks source link

[Feature Request] Server Actions #86

Closed leerob closed 9 months ago

leerob commented 10 months ago

You can achieve E2E type safety in the App Router with the combination of Server Components and Server Actions. With this combination, you should rarely need to use Route Handlers for custom API routes, except in cases like scaffolding out authentication endpoints.

nicoalbanese commented 10 months ago

@leerob huge fanboy moment! Your FastFeedback course was how I learned Nextjs a few years back 😊

And yes definitely keen to add Server Actions as an option for the generate command. Will try and get something pulled together this week.

nicoalbanese commented 9 months ago

Server Actions now available in 0.0.38! Really enjoyed building this out. It took longer than expected as it required rethinking of the previous generate architecture (now much improved). All in all, really impressed with how much we can do with just react/nextjs without reaching for outside libraries now!