
I would like a fresh start 😇
React
A JavaScript library used to build vivid shiny user interfaces🥰.
Event
The different ways the user uses ...
For further actions, you may consider blocking this person and/or reporting abuse
Hey, This is such an amazing explanation for the Synthetic Events, Thank you :)
This was the best explanation to React's SyntheticEvent that I could find! Thank you :-)
oh, thanks Maricris it means a lot to me 😍
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?
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
In the first solution to the problem, event should be null once I invoked the handler, should't it?
Do u mean that the handler will not be executed till the event get nullifed?!
This was so easy!! I came on this article after 2 articles and react official documentation, thank you!!
I liked your way of writing 💜 ..
Thanks for sharing
Thaaaank you😍,
Hope it helps
Event will nullified when you try to access it asynchronously. in above example, it should be wrapped in setTimeOut or promise.
good one
Thank you.
Thanks for this great explanation !
Hope it helps 🥰
Great article 👍
That's was very helpful for me
Wow, previously I had a problem about this concept but now I understand it
thanks a million ....... God bless you
thanks, Aya, really happy it helps 😍