Tagged articles
13 articles
Page 1 of 1
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
Goodme Frontend Team
Goodme Frontend Team
Mar 25, 2024 · Frontend Development

Mastering React Forms: When to Use Controlled vs Uncontrolled Components

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
Mastering React Forms: When to Use Controlled vs Uncontrolled Components
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.

Data FetchingFormsOptimistic 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.

Form ManagementFormsReact
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
21CTO
21CTO
Dec 8, 2021 · Backend Development

What’s New in Django 4.0? Key Features and Installation Guide

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.

DjangoFormsRelease Notes
0 likes · 3 min read
What’s New in Django 4.0? Key Features and Installation Guide
MaGe Linux Operations
MaGe Linux Operations
May 29, 2021 · Backend Development

How to Style Django Forms with Widgets and Bootstrap

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.

BootstrapDjangoForms
0 likes · 5 min read
How to Style Django Forms with Widgets and Bootstrap
Python Crawling & Data Mining
Python Crawling & Data Mining
Jan 14, 2021 · Backend Development

Master Django Forms: From Basics to Advanced Usage

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.

DjangoFormsPython
0 likes · 12 min read
Master Django Forms: From Basics to Advanced Usage
Lin is Dream
Lin is Dream
May 14, 2020 · Frontend Development

Master HTML Forms: Elements, Attributes, and Practical Code Examples

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.

AttributesCode ExamplesForms
0 likes · 5 min read
Master HTML Forms: Elements, Attributes, and Practical Code Examples
MaGe Linux Operations
MaGe Linux Operations
Apr 2, 2019 · Backend Development

Master Django Basics: From Project Setup to Models and Forms

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
Master Django Basics: From Project Setup to Models and Forms
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)