React

Build modern UIs with React

250 tutorials
12 of 250 tutorials
Aug 15, 2026· 5 min read

Event Bubbling and Capturing in React

Event bubbling runs handlers from the target up to its parents, while capturing runs top-down. Learn how both directions work in React.

React
Aug 15, 2026· 5 min read

How to Stop Event Propagation in React

Stop a React event from bubbling to parent handlers by calling e.stopPropagation() inside the handler. Learn when to use it and what it does not do.

React
Aug 15, 2026· 5 min read

React Synthetic Events Explained

A React synthetic event is the event object React passes to your handlers. It wraps the native event and normalizes browser differences.

React
Aug 15, 2026· 5 min read

How to Handle Keyboard Events in React

Handle keyboard events in React with onKeyDown and onKeyUp. Read e.key for the key's meaning and e.code for its physical position.

React