Not possible to add a debug name to runInAction
#4517
guillaumebrunerie
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It does not seem possible to give options to
runInAction
, in particular it does not seem possible to give the temporary action a name that will show up in the devtools.As a workaround I'm using
instead of
which I guess is equivalent (?)
But I feel like it would make sense to add an
options
argument torunInAction
taking at least aname
, or to allow the first argument torunInAction
to be a string.Beta Was this translation helpful? Give feedback.
All reactions