Server action for a button w/o making entire form - like rails button_to "Text", some_server_path, method: :post #60643
sethhorsley
started this conversation in
Ideas
Replies: 1 comment
-
I think you can make use of Or You can expose the button as client component, add an |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
Background
Being a rails / js developer next js could use the approach that rails has with their button_to with post functionality without the need to scaffold out an entire form like:
Proposal
Not entirely sure how this should be implemented, just wanted to start a dialog and see where this goes.
Beta Was this translation helpful? Give feedback.
All reactions