I have a form that has a submit button. That form calls a function onclick that sets the state of something from false to true. I then want to pass this state back to the pa
Just to clarify things to me, but why you event call it a callback function, normally a callback function is a function that is received as an argument to another function (it's by definition) and i don't see particularly that myCallback function used here is an argument to another function. Please correct me if i'm wrong!