In Remix, server actions are strictly through forms now and react server actions give me the ability to trigger actions from buttons and other things, which is I think getting the best out of both worlds. I like submitting thru forms, but also not always to have a form :)
In Remix, server actions are strictly through forms now and react server actions give me the ability to trigger actions from buttons and other things, which is I think getting the best out of both worlds. I like submitting thru forms, but also not always to have a form :)
yeah programatically is often needed - for example I'm running one on a stripe checkout callback.