Tags
6K
back to homepage

13 news for server action

June 2024

The "SQL In React" Drama

Every time i see a post about rsc and sql requests inside a component, i always looks at the comments, to always see a lots of people choked by this new RSC pattern. Very often, people don't know that even inside a react component, this code only runs on server. Theo explains very precisely how it works, why it is secure, but also why it is only a pattern for prototyping and other patterns are preferable for production.

May 2024

Astro Actions (First Look!)

New month, new astro feature get released.. This time astro introduce server actions. From your SSR or CSR page, you can now build a form and pass on submit an astro server action who will create a new endpoint in your server to validate and execute the function you'll define. A very important piece to manage forms is coming, but only in an experimental mode for now, so don’t use it in production yet.

February 2024

Conform 1

Conform is a new form management library with Progressive enhancement first APIs, Type-safe field inference, Fine-grained subscription, Built-in accessibility helpers, and Automatic type coercion with Zod. It is compatible with Next / Remix as it supports server Actions. According to early feedback, this library is still experimental but seems quite promising.