Tagged articles
Forms
13 articles · Page 1 of 1
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

This article explains modern best practices for building forms in React, compares controlled and uncontrolled approaches, shows how to mix them, discusses server‑side components, validation, error handling, and recommends using FormData over useRef for cleaner, more performant code.
Controlled ComponentsFormsReact
0 likes · 16 min read

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.
Data FetchingFormsOptimistic UI
0 likes · 10 min read

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.
Form ManagementFormsReact
0 likes · 9 min read


政采云技术Dec 21, 2023 · Frontend Development
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


21CTODec 8, 2021 · Backend Development
Django 4.0 has been officially released, bringing built‑in Redis caching, enhanced form customization, new password hashing, default zoneinfo support, upgraded jQuery, PostgreSQL improvements, and a test runner shuffle option, with a simple pip installation command.
DjangoFormsredis
0 likes · 3 min read

This tutorial explains what Django widgets are, shows how to customize form fields with CSS classes and attributes, and demonstrates both simple Form and ModelForm examples that integrate Bootstrap styling for a polished, functional user interface.
DjangoFormsPython
0 likes · 5 min read

This article walks you through Django's Form component, explaining how it generates HTML, validates input, retains data, and integrates with models, while providing step‑by‑step code examples for defining Form classes, handling GET/POST requests, rendering templates, and customizing fields and widgets.
DjangoForm ValidationForms
0 likes · 12 min read

This guide explains HTML form elements, common attributes like readonly, disabled, and required, and demonstrates how to build functional forms with code snippets, including input types, labels, and form association techniques for effective data submission.
Code ExamplesFormsHTML
0 likes · 5 min read

This tutorial introduces Django, outlines its major features, explains the standard project directory, provides essential command‑line tools, demonstrates how to create views, URLs, templates, and models, and walks through database operations and both GET and POST form handling, all with clear code examples.
BackendDjangoForms
0 likes · 13 min read

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

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

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.
FormsHTMLfrontend
0 likes · 11 min read
