Skip to content

Glossary: React Basics

preventDefault

Also written: e.preventDefault()

An event method that stops the browser's own action, such as reloading the page on form submit or following a link.

Where the book teaches it

Related terms

Synthetic eventPropagation