Tag

data-fetching

1 views collected around this technical thread.

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.

FormsFrontendHooks
0 likes · 10 min read
Introducing React v19: New Experimental Hooks for Data Fetching and Forms
Top Architect
Top Architect
Mar 6, 2023 · Backend Development

An Introduction to GraphQL: Concepts, Benefits, and Implementation Strategies

This article explains the limitations of REST APIs, introduces GraphQL as a flexible alternative, details its core concepts such as schema, types, queries, mutations and subscriptions, and outlines various architectural patterns and tooling for integrating GraphQL into existing backend systems.

APIBackendGraphQL
0 likes · 16 min read
An Introduction to GraphQL: Concepts, Benefits, and Implementation Strategies
KooFE Frontend Team
KooFE Frontend Team
Nov 10, 2022 · Frontend Development

How to Prevent Race Conditions When Fetching Data in React

This article explains why asynchronous data fetching in React can cause race conditions that lead to flickering or mismatched content, and presents several practical solutions—including component remounting, data validation, cleanup effects, and request cancellation—to ensure reliable UI updates.

Promiseabortcontrollerdata-fetching
0 likes · 16 min read
How to Prevent Race Conditions When Fetching Data in React
KooFE Frontend Team
KooFE Frontend Team
Oct 16, 2022 · Frontend Development

How to Optimize Data Fetching in React for Better Performance

Learn how to optimize data fetching in React by understanding initial vs on‑demand requests, avoiding waterfall patterns, leveraging Promise.all, parallel promises, data providers, and browser limits, while applying best practices for useEffect, lifecycle handling, and performance‑focused component design.

FrontendPerformancePromise.all
0 likes · 26 min read
How to Optimize Data Fetching in React for Better Performance
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
May 16, 2022 · Frontend Development

How to Prevent Race Conditions in React Data Fetching

This article explains what race conditions are in front‑end web development, demonstrates the issue with a React demo fetching articles, and walks through step‑by‑step solutions using custom hooks, useEffect cleanup, and AbortController to safely cancel outdated requests and avoid stale data rendering.

Custom HookFrontendabortcontroller
0 likes · 10 min read
How to Prevent Race Conditions in React Data Fetching
ByteDance ADFE Team
ByteDance ADFE Team
Mar 24, 2022 · Frontend Development

Understanding SWR: Stale‑While‑Revalidate Data Fetching in React

This article explains the SWR library—a lightweight React hook that implements the stale‑while‑revalidate caching strategy—covering its core concepts, basic usage, advanced features like global configuration and middleware, and an overview of its internal implementation.

FrontendHooksStale-While-Revalidate
0 likes · 15 min read
Understanding SWR: Stale‑While‑Revalidate Data Fetching in React
Taobao Frontend Technology
Taobao Frontend Technology
Jul 20, 2021 · Frontend Development

How Modern Hook-Based Request Libraries Simplify Frontend Data Fetching

Modern hook-based request libraries such as useRequest, SWR, and react-query transform traditional request flows by encapsulating loading states, caching, refetching, and mutation handling, offering simpler APIs, better user experience, and seamless integration with React’s component model.

Frontendcachingdata-fetching
0 likes · 12 min read
How Modern Hook-Based Request Libraries Simplify Frontend Data Fetching
Top Architect
Top Architect
Apr 29, 2021 · Backend Development

An Introduction to GraphQL: Concepts, Benefits, and Architectural Patterns

This article explains the origins and limitations of REST APIs, introduces GraphQL as a flexible alternative, describes its core concepts such as schema, types, and modifiers, and outlines various server‑side and client‑side implementations, tools, and deployment architectures for modern backend development.

APIBackend DevelopmentGraphQL
0 likes · 17 min read
An Introduction to GraphQL: Concepts, Benefits, and Architectural Patterns
Python Programming Learning Circle
Python Programming Learning Circle
Jan 26, 2021 · Backend Development

Understanding GraphQL: Advantages over REST and Core Concepts

This article explains why REST APIs have become cumbersome, introduces GraphQL as a more flexible alternative, and details its benefits, execution model, schema and type system, as well as practical server and client implementation options.

API designBackendGraphQL
0 likes · 14 min read
Understanding GraphQL: Advantages over REST and Core Concepts