How to call stopPropagation in Reactjs?

Posted by Jessica Taylor | Updated on

In this example, I have shared how to call stopPropagation in Reactjs? The right way is to use .stopPropagation in you application.

Your event handlers will be passed instances of SyntheticEvent, a cross-browser wrapper around the browser’s native event. It has the same interface as the browser’s native event, including stopPropagation() and preventDefault(), except the events work identically across all browsers.

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers