You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On my form, I have a bug in the onSubmit() function, but this function is asynchronous. How can I log what's happening inside the onSubmit() execution?
For instance, I trigger the submit with props.handleSubmit();. Once execution reaches the function, log output is not displayed on the console. Please ask if you have questions, or if my explanation is unclear.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
On my form, I have a bug in the
onSubmit()
function, but this function is asynchronous. How can I log what's happening inside theonSubmit()
execution?For instance, I trigger the submit with
props.handleSubmit();
. Once execution reaches the function, log output is not displayed on the console. Please ask if you have questions, or if my explanation is unclear.Beta Was this translation helpful? Give feedback.
All reactions