Include input in result of useAction hook #116
Closed
TaylorFacen
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
Hey @TaylorFacen, I think that's a great suggestion actually, going to implement it soon. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Implemented in v7.0.0-next.38 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Similar to how the
useAction
hook returns theresult
of the last run, it would be helpful for the hook to also return the input as well.Let's say I have a command dialog of multiple items. When a user clicks on an item, I want to display a loading indicator on the specific item they selected. I could do this by using
Beta Was this translation helpful? Give feedback.
All reactions