Tag

Forms

1 views collected around this technical thread.

Sohu Tech Products
Sohu Tech Products
Feb 19, 2025 · Frontend Development

Comprehensive Guide to React State Management

This guide explains React state management fundamentals, covering local state with useState, useReducer, class components, and custom hooks; global solutions such as Context API, Zustand, Jotai, and Redux; and server‑side handling using React Query, SWR, plus navigation and form state best practices.

Context APICustom HooksForms
0 likes · 30 min read
Comprehensive Guide to React State Management
IT Services Circle
IT Services Circle
Jan 26, 2024 · Frontend Development

Introducing React v19: New Experimental Hooks for Data Fetching and Forms

React’s upcoming v19 release introduces four experimental hooks—use, useOptimistic, useFormState, and useFormStatus—focused on simplifying data fetching and form handling, allowing developers to read promises or context directly, perform optimistic UI updates, and manage form state and submission status within React components.

FormsHooksOptimistic UI
0 likes · 10 min read
Introducing React v19: New Experimental Hooks for Data Fetching and Forms
Sohu Tech Products
Sohu Tech Products
Jan 3, 2024 · Frontend Development

Controlled vs Uncontrolled Forms in React: Modern Form Management with Hooks

The article compares React's controlled and uncontrolled form patterns, explains how modern hook‑based techniques—such as useForm, Context, and react‑hook‑form—streamline state management, improve performance, and simplify validation, illustrated by the evolution from antd3’s HOC approach to antd4’s Context‑driven architecture.

FormsHooksReact-Hook-Form
0 likes · 9 min read
Controlled vs Uncontrolled Forms in React: Modern Form Management with Hooks
政采云技术
政采云技术
Dec 21, 2023 · Frontend Development

Understanding Controlled and Uncontrolled Forms in React: Ant Design, Hooks, and React‑Hook‑Form

This article explains the concepts, use‑cases, and performance trade‑offs of controlled versus uncontrolled forms in React, demonstrates how Ant Design 3 and 4 implement form handling with HOC or Context + hooks, and introduces the lightweight, non‑controlled approach of react‑hook‑form with practical code examples.

Ant DesignControlledForms
0 likes · 12 min read
Understanding Controlled and Uncontrolled Forms in React: Ant Design, Hooks, and React‑Hook‑Form
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 ComponentsFormsJavaScript
0 likes · 15 min read
React Forms: Using Refs (Translation)
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
May 11, 2017 · Frontend Development

Master Reactive Forms in Angular with RxJS: A Practical Example

This article explains why reactive programming simplifies logic, demonstrates a concrete age‑selection use case using RxJS operators like combineLatest and map, and shows how Angular's reactive forms, async pipe, and new ngIf features streamline UI development.

AngularFormsRxJS
0 likes · 11 min read
Master Reactive Forms in Angular with RxJS: A Practical Example
Qunar Tech Salon
Qunar Tech Salon
Oct 31, 2016 · Frontend Development

Understanding HTML Form Elements: Selection, Hidden Inputs, Dropdowns, and Image Maps

This article provides a comprehensive guide to HTML form elements, covering radio and checkbox handling, hidden and submit inputs, dropdown (select) creation and manipulation, dynamic option insertion methods, and the use of image maps, with special attention to cross‑browser quirks and JavaScript techniques.

DOMFormsHTML
0 likes · 11 min read
Understanding HTML Form Elements: Selection, Hidden Inputs, Dropdowns, and Image Maps
Qunar Tech Salon
Qunar Tech Salon
Oct 21, 2016 · Frontend Development

Understanding HTML Form Elements, Attributes, and Input Events in Frontend Development

This article explains the historical purpose of JavaScript for form validation, defines form elements and their attributes, discusses various input-related events and browser quirks, and provides practical CSS and JavaScript solutions for handling form layout, input handling, and cursor behavior.

FormsHTMLInput Events
0 likes · 9 min read
Understanding HTML Form Elements, Attributes, and Input Events in Frontend Development