in React JS by

What are synthetic events in React?

1 Answer

0 votes
by

SyntheticEvent is a cross-browser wrapper around the browser's native event. It's API is same as the browser's native event, including stopPropagation() and preventDefault(), except the events work identically across all browsers.

Related questions

0 votes
asked Jul 2, 2019 in React JS by Venkatshastri
0 votes
asked Jul 2, 2019 in React JS by Venkatshastri
0 votes
0 votes
asked Jul 2, 2019 in React JS by Venkatshastri
...