DEV Community

Discussion on: React synthetic events

Collapse
 
hamidh2 profile image
Hamid Hassani • Edited

You said the properties of the event object will reset but you didn't say anything when this will happen?

I didn't understand this statement: 'our handelArrowBtn() is called asynchronously
after the event object has been nullified '
I didn't get the point of how a simple and synchronous method should be called asynchronously here?

Collapse
 
nagwan profile image
nagwan sami

Hi Hamid, sorry for the late reply,
this happens once the event handler is invoked.
and for the asynchronous part, it was related to another example removed to keep the article light, thanks for the note