Understanding event bubbling in JavaScript and using it in React
How events climb up the DOM tree, how React manages them, and when and how to stop bubbling with stopPropagation – including a modal example.
grep -l "#javascript"
2 posts on this topic
How events climb up the DOM tree, how React manages them, and when and how to stop bubbling with stopPropagation – including a modal example.
First steps in React: the three parts of the library – React, React-DOM and Babel – and a first small app that renders JSX into the page.