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
Uh oh!
There was an error while loading. Please reload this page.
-
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
optionsargument torunInActiontaking at least aname, or to allow the first argument torunInActionto be a string.Beta Was this translation helpful? Give feedback.
All reactions