Tagged articles
Suspense
19 articles · Page 1 of 1
This article introduces React 19’s new use hook that reduces reliance on useEffect, explains how to work with resolved promises, demonstrates conditional usage and integration with Suspense through detailed code examples, and discusses practical considerations when using the hook in modern frontend projects.
JavaScriptPromisesReact
0 likes · 9 min read

The article explains how React 19 silently altered Suspense behavior by disabling parallel rendering of sibling components, turning data fetching into a waterfall pattern, which caused significant performance regressions for many sites, sparked community backlash, and was eventually rolled back after extensive discussion.
DataFetchingReactReact19
0 likes · 6 min read

This article introduces the new React 19 APIs—including the versatile use API for data fetching and conditional context, resource preloading helpers, enhanced Actions with useTransition, useActionState, useFormState, useOptimistic, as well as deprecations, improved hydrate error messages, and the experimental React Compiler—providing code examples and migration guidance.
ReactReact CompilerSuspense
0 likes · 17 min read


ByteFEOct 18, 2023 · Frontend Development
This article explains how to display loading and error states in React by passing Promise objects through props, context, or state libraries, leveraging Suspense, ErrorBoundary, and custom hooks such as usePromise and use to simplify asynchronous UI patterns while avoiding unnecessary re‑renders and side‑effects.
Error BoundaryLoading StatePromise
0 likes · 13 min read

React 18 introduces concurrent rendering, transitions, Suspense, and Server Components, which together reduce long tasks, lower total blocking time, and improve user interaction by allowing non‑urgent updates to run in the background, ultimately delivering smoother, more responsive web applications.
Concurrent RenderingReactServer Components
0 likes · 20 min read


ByteFEMar 20, 2023 · Frontend Development
This article explains the new React "use" hook proposal, covering its background, how to integrate it with Suspense, minimal examples, promise caching, control‑flow usage, design motivations, implementation details, limitations, and the surrounding community debate.
JavaScriptPromiseReact
0 likes · 12 min read

React 18 introduces Streaming SSR, allowing the server to send HTML in chunks and perform selective hydration, which improves performance by rendering ready sections early and handling asynchronous components via Suspense, with detailed examples of code implementation, error handling, and JS/CSS integration.
Code SplittingReactSelective Hydration
0 likes · 25 min read

This article provides a comprehensive guide to Recoil, Facebook's React state‑management library, covering its graph‑based architecture, atoms and selectors, family APIs for bulk state, async data handling with Suspense and Loadable, snapshot usage for SSR and time‑travel, external synchronization, and practical tips for reducing mental load.
ReactRecoilState Management
0 likes · 14 min read

React 18 has been officially released, introducing automatic batching, a new startTransition API, expanded Suspense capabilities, updated client‑server rendering APIs, and stricter mode behaviors, all built on a concurrent rendering engine that aims to change how developers build modern web applications.
Automatic BatchingReactReact18
0 likes · 5 min read

This article explains how Recoil implements asynchronous data streams, detailing the underlying data‑flow architecture, the role of atoms and selectors, the lifecycle of async loading states, and two approaches for handling loading—manual useRecoilValueLoadable and automatic React.Suspense integration—accompanied by illustrative code examples.
ReactRecoilState Management
0 likes · 10 min read

The article reviews the 2021 React Conf, summarizing React 18’s key innovations such as Suspense for data fetching, Concurrent Mode, automatic batching, new hooks, streaming SSR, and the roadmap for React Native, while also sharing upgrade tips, code examples, and community insights.
Concurrent ModeFrontend DevelopmentReact
0 likes · 11 min read

This article provides a comprehensive overview of React's runtime optimization strategies across versions 15 to 18, explaining the evolution of its architecture, the introduction of Fiber, concurrent rendering, scheduling, priority lanes, and new APIs such as Suspense, startTransition, and useDeferredValue, while including detailed code excerpts and practical insights for developers.
Concurrent ModeFiberReact
0 likes · 35 min read

This article explains the key differences between Legacy Suspense and Concurrent Suspense in React 18, covering how sibling components are handled, ref timing outside Suspense boundaries, and the impact on rendering and effects, helping developers adapt their code for the new model.
Concurrent ReactJavaScriptReact
0 likes · 8 min read

React 18 introduces a progressive upgrade path with concurrent rendering, automatic batching, a new Root API, startTransition, and an improved Suspense SSR architecture, allowing developers to adopt new features with minimal code changes while enhancing performance and enabling selective hydration and streaming HTML.
Automatic BatchingReactReact 18
0 likes · 12 min read

This article explains how React 18 introduces progressive upgrades, a new Root API, automatic batching, the flushSync utility, an enhanced Suspense SSR architecture, and the startTransition API, providing code examples and practical guidance for developers transitioning from earlier React versions.
Automatic BatchingConcurrent RenderingFrontend Development
0 likes · 13 min read


ByteFEApr 13, 2021 · Frontend Development
This article explains the principles of streaming server‑side rendering (SSR) in React, compares it with traditional client‑side rendering, and demonstrates how lazy loading and Suspense can be used together with streaming SSR to parallelize data and JavaScript delivery for faster first‑paint and improved user experience.
@LazyReactSSR
0 likes · 10 min read


政采云技术May 24, 2020 · Frontend Development
This article explains how React.lazy and Suspense enable on‑demand component loading, describes the underlying webpack dynamic import mechanism, shows how to configure fallback UI and error boundaries, and provides practical code examples for modern frontend performance optimization.
@LazyError BoundaryReact
0 likes · 13 min read

This article explains how React 16.6 introduced React.lazy and Suspense to simplify component code splitting and lazy loading, discusses why code splitting is needed, demonstrates dynamic import() usage, compares React-loadable with the built‑in APIs, and shows advanced patterns such as nested Suspense boundaries.
Code SplittingReactReact.lazy
0 likes · 9 min read

This article outlines the React 16 roadmap, detailing the planned release schedule for Suspense code‑splitting, Hooks, Concurrent Mode, data‑fetching Suspense, and related experimental projects, while explaining their current status across React DOM, server rendering, and React Native.
Concurrent ModeJavaScriptReact
0 likes · 13 min read
