Join Kent for a live workshop in New York, USA đź—˝

React Server Components and Actions
Time's up. The sale is over
Illustration of a microphone

Calls with Kent C. Dodds.

You call, I'll answer.

Listen to the podcasts here
Phone sitting on a stool

What's this all about?

The goal of the Call Kent Podcast is to get my answers to your questions. You record your brief question (120 seconds or less) right from your browser. Then I listen to it later and give my response, and through the magic of technology (ffmpeg), our question and answer are stitched together and published to the podcast feed.

I look forward to hearing from you!

Record your call

Calls with Kent C. Dodds Season 2 — 50 episodes

18.How to identify which button submits a form
03:30
Keywords

remix, actions, submit

Description
Which is the best way to know inside of an action function in Remix with which button a form was submitted
In this example the name is "action", but again I prefer to call this "intent": https://github.com/remix-run/remix/blob/d0d500849fbd87eace23bb3d479b7c556e314109/examples/multiple-forms/app/routes/invitations.tsx#L70-L75
18.How to identify which button submits a form
03:30
Keywords

remix, actions, submit

Description
Which is the best way to know inside of an action function in Remix with which button a form was submitted
In this example the name is "action", but again I prefer to call this "intent": https://github.com/remix-run/remix/blob/d0d500849fbd87eace23bb3d479b7c556e314109/examples/multiple-forms/app/routes/invitations.tsx#L70-L75
18.How to identify which button submits a form
03:30
Keywords

remix, actions, submit

Description
Which is the best way to know inside of an action function in Remix with which button a form was submitted
In this example the name is "action", but again I prefer to call this "intent": https://github.com/remix-run/remix/blob/d0d500849fbd87eace23bb3d479b7c556e314109/examples/multiple-forms/app/routes/invitations.tsx#L70-L75
18.How to identify which button submits a form
03:30
Keywords

remix, actions, submit

Description
Which is the best way to know inside of an action function in Remix with which button a form was submitted
In this example the name is "action", but again I prefer to call this "intent": https://github.com/remix-run/remix/blob/d0d500849fbd87eace23bb3d479b7c556e314109/examples/multiple-forms/app/routes/invitations.tsx#L70-L75

Looking for more content?

Have a look at these articles.

See the full blog