Deep dive into SyntheticEvent in React

Why it’s useful

  • Cross-browser: It wraps the brower’s native event through nativeEvent attribute and provices a uniform api and consistent behavior on top level
  • Better performance: Events are delegated to document through bubbling. Note Event Pooling is removed in React 17

Source: https://itnext.io/deep-dive-into-syntheticevent-in-react-325486d9baad

Default image
Lingaraj Senapati
Hey There! I am Lingaraj Senapati, the Co-founder of lingarajtechhub.com My skills are Freelance, Web Developer & Designer, Corporate Trainer, Digital Marketer & Youtuber.
Articles: 150

Newsletter Updates

Enter your email address below to subscribe to our newsletter

Leave a Reply

eighteen − 15 =

Physical Address

Patia, Bhubaneswar, khordha, 751024, Odisha, India