---
title: "Discussion on \"I thought my React form was broken… until I understood e.preventDefault()\" | Hashnode"
description: "Discussion on \"I thought my React form was broken… until I understood e.preventDefault()\". e.preventDefault() prevents page reloads but preserves the built-in behavior of forms, letting React take control of the UI."
url: "https://hashnode.com/posts/i-thought-my-react-form-was-broken-until-i-understood-e-preventdefault/6a2fa7f6842372784d2916c2"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [I thought my React form was broken… until I understood e.preventDefault()](https://kumsomi.hashnode.dev/i-thought-my-react-form-was-broken-until-i-understood-e-preventdefault?utm_source=hashnode&utm_medium=feed)

e.preventDefault() prevents page reloads but preserves the built-in behavior of forms, letting React take control of the UI.

Jun 15 · 4 min read · kumsomi.hashnode.dev  
Read the article

-   [#reactforms](https://hashnode.com/tag/reactforms)
-   [#preventdefault](https://hashnode.com/tag/preventdefault)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#react](https://hashnode.com/tag/react)
-   [#forms](https://hashnode.com/tag/forms)

## Written by

[Kum Somi](https://hashnode.com/@kumsomi)

@kumsomi · Bangalore, India

  
[View profile](https://hashnode.com/@kumsomi)

learning everyday...

Hey, I am a self-made developer who is trying to learn new things every day.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
