---
title: "Discussion on \"React Controlled Components and Forms\" | Hashnode"
description: "Discussion on \"React Controlled Components and Forms\". Controlling Form Values from State\n\nA controlled form is a form that derives its input values from state\n\nConsider the following form code\n\n\nimport React, { useState } from \"react\";\n\nfunction Form() {\n  const [firstName, setFirstName] = useState(\"Joh..."
url: "https://hashnode.com/posts/react-controlled-components-and-forms/64b06b77058cd9b743b68846"
---

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

Discussion

# [React Controlled Components and Forms](https://romilse.hashnode.dev/react-controlled-components-and-forms?utm_source=hashnode&utm_medium=feed)

Controlling Form Values from State A controlled form is a form that derives its input values from state Consider the following form code import React, { useState } from "react"; function Form() { const \[firstName, setFirstName\] = useState("Joh...

Jul 13, 2023 · 3 min read · romilse.hashnode.dev  
Read the article

## Written by

[Romil Kothari](https://hashnode.com/@rmk129)

@rmk129

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
