Tag

Component Composition

0 views collected around this technical thread.

KooFE Frontend Team
KooFE Frontend Team
Sep 28, 2024 · Frontend Development

Why Early Returns Make React Component Composition Cleaner

The article explains how treating UI as composable components, avoiding tangled conditional rendering, and using early returns can reduce cognitive load, improve type inference, and make React code easier to extend and maintain.

Component CompositionEarly ReturnFrontend
0 likes · 11 min read
Why Early Returns Make React Component Composition Cleaner
KooFE Frontend Team
KooFE Frontend Team
Mar 13, 2023 · Frontend Development

How to Eliminate Prop Drilling in React with Component Composition

This article explains how to avoid prop drilling in React by refactoring components to use composition and children props, providing a clear example with a navigation sidebar and discussing alternatives like Context and Redux.

Component CompositionFrontendReact
0 likes · 4 min read
How to Eliminate Prop Drilling in React with Component Composition
KooFE Frontend Team
KooFE Frontend Team
Aug 30, 2022 · Frontend Development

Mastering Composable React Components: Build a Reusable Tabs UI

This article explains core principles for designing composable React APIs, demonstrates how to decompose UI into stable, reusable parts, and walks through a complete implementation of a flexible Tabs component with context, render‑props, and testing strategies.

Component CompositionDesign PatternsFrontend
0 likes · 22 min read
Mastering Composable React Components: Build a Reusable Tabs UI
iQIYI Technical Product Team
iQIYI Technical Product Team
Aug 24, 2018 · Backend Development

Designing Extensible Business Systems with Microkernel Architecture and Dynamic Component Composition

The article explains how a microkernel architecture separates a stable core from plug‑in components, enabling static and dynamic composition through annotations or configuration files, illustrated by e‑commerce checkout and iQIYI payment redesign, and introduces the open‑source Navi framework for declarative matcher‑based component selection, highlighting extensibility as essential for rapid business growth.

Component CompositionJavaSoftware Extensibility
0 likes · 16 min read
Designing Extensible Business Systems with Microkernel Architecture and Dynamic Component Composition