React·100 questions

How does SyntheticEvent differ from native events?

Answer
It's a wrapper over the native event.
Provides a unified API across browsers.
In older versions, pooling was used, now less of an issue.
event.nativeEvent gives the native event.
Usually, SyntheticEvent is enough.
Was this answer helpful?

More questions in this topic

Related questions from other topics