This is me experimenting with typesafe React Server Actions.
I originally wanted next-safe-action
to let me import server actions in client components. I'm throwing a couple of extra features I really wanted from other libraries while I'm at it.
Please for the love of god just use one of these instead: