Tag

memo

1 views collected around this technical thread.

DaTaobao Tech
DaTaobao Tech
Sep 4, 2024 · Frontend Development

Best Practices for Component Design and Encapsulation in React

The article outlines React component design best practices by distinguishing generic UI components from business‑specific ones, separating UI and domain state, extracting reusable base components, applying patterns such as state lifting, context, memoization, and type‑safe props, and providing a checklist for clean encapsulation.

Component DesignDDDEncapsulation
0 likes · 10 min read
Best Practices for Component Design and Encapsulation in React
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 13, 2024 · Frontend Development

React Rendering Performance Optimization: Case Study and Practical Techniques

This article explains common React performance‑optimization methods, walks through a real‑world form‑editor use case, details the profiling, diagnosis, and step‑by‑step improvements—including memoization, callback stabilization, diff filtering, and pure‑function components—that reduced render time from 195 ms to under 10 ms.

Reactfrontendmemo
0 likes · 20 min read
React Rendering Performance Optimization: Case Study and Practical Techniques
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jul 11, 2019 · Frontend Development

Master React.memo, useCallback & useMemo to Supercharge Component Performance

This article explains how React.memo, its second‑argument comparator, and the related hooks useCallback and useMemo can be used to avoid unnecessary re‑renders, handle function props correctly, and dramatically improve rendering performance in complex functional components.

Reactfrontendmemo
0 likes · 10 min read
Master React.memo, useCallback & useMemo to Supercharge Component Performance