Tag

Controlled Components

0 views collected around this technical thread.

Hujiang Technology
Hujiang Technology
Jul 27, 2017 · Frontend Development

React.js Controlled Form Components: Comprehensive Guide and Code Examples

This article provides a detailed walkthrough of building controlled form components in React.js, covering text, number, checkbox, radio, textarea, and select inputs, along with state management, form submission, clearing, validation, and full source code examples.

Controlled ComponentsFormReact
0 likes · 25 min read
React.js Controlled Form Components: Comprehensive Guide and Code Examples
Hujiang Technology
Hujiang Technology
Jun 27, 2017 · Frontend Development

React Forms: Using Refs (Translation)

This article translates Loren Stewart’s guide on using React refs for form handling, explaining both controlled components and ref‑based approaches, and provides detailed code examples for text, number, select, radio, and checkbox inputs, including techniques for parent‑child communication and value extraction.

Controlled ComponentsFormsReact
0 likes · 15 min read
React Forms: Using Refs (Translation)