World Congress 2026 Europe • Jul 9, 2026 • Session details

The two trees of React

Carl Assmann

Carl Asman explains why mirroring the visual DOM in your React components destroys maintainability. Learn how a shallow ownership tree accelerates development for both human engineers and AI agents.

Pause
Mute Enter Fullscreen
#1 about 4 min

The problem with deeply nested UI components

Mimicking visual structures with component layers fragments application state, so developers must decouple logic mapping from display mapping.

#2 about 1 min

The UI tree versus the ownership tree architecture

Abstracting the visual structure away from the decision-making logic establishes a flat framework that retains conceptual clarity.

#3 about 1 min

Designing feature folders and shallow hierarchy rules

Organizing logic by distinct features and strictly limiting component depth enforces immediately comprehensible architectural boundaries.

#4 about 3 min

Elevating product decisions through React composition patterns

Using slots, render props, and callbacks eliminates nested dependencies by elevating stateful decisions to the screen layer.

#5 about 1 min

Writing context-dense frontend code for AI agents

Providing context-dense modules guarantees that artificial assistants parse business rules comprehensively without traversing separated execution files.

#6 about 3 min

Enforcing component architecture with ESLint import constraints

Applying strict linting barriers on code module imports establishes explicit automated guardrails against synthetic code generation errors.

#7 about 2 min

Using AI assistants to generate custom ESLint rules

Hand-crafting architectural demonstrations provides semantic templates that reliably direct large language models to construct accurate customized validations.

#8 about 2 min

Takeaways on flat ownership trees and readable components

Shifting away from deep visual hierarchies creates sustainable interface constraints optimized for scalable automated algorithmic maintenance.

#9 about 2 min

Balancing locality of behavior with React component file size

Extracting and prioritizing top-level logic keeps behavioral locality intact without inadvertently producing heavily bloated codebase files.

#10 about 1 min

Choosing ESLint over dedicated architectural component testing libraries

Integrating native front-end analysis infrastructure simplifies evaluating dependency limitations constructed by artificial intelligence testing methodologies.

Matching moments

2:45 min

Analyzing excessive context provider nesting in complex React applications

Chris Heilmann Chris Heilmann +2 · LIVE

3:31 min

Recreating React components using AI and dev tools

Chris Heilmann Chris Heilmann +2 · LIVE

5:25 min

Maintaining separation of concerns in modern UI frameworks

Chris Heilmann Chris Heilmann +2 · LIVE

4:02 min

Performance and architectural drawbacks of React context

Adam Klein · LIVE

1:20 min

Exploring tooling choices for interactive UI components

Aurora Scharff Aurora Scharff · World Congress 2025

2:33 min

Structuring components in a React and Gatsby project

Ana Gil Amor Ana Gil Amor · Europe 2026 Virtual

Upcoming sessions on this topic

Open session

React Under Fire: Rendering Performance for Streaming Agent UIs

  • Abhirupa Mitra

    Slack

    Senior Member of Technical Staff

Open session

From Profiler to Production: Measuring What Actually Matters in React & React Native

  • Andrei Tazetdinov

    Dynatrace

    React Native Developer

Open session

Designing for Every Direction: Logical CSS for Global, Adaptive, and Effortlessly Reversible UIs

  • Vidhya Krishnamoorthy

    Morgan Stanley

    VP, Software Engineering Manager

Open session

Teaching AI Coding Agents to Build It Right the First Time

  • Sajeetharan Sinnathurai

    Microsoft

    Principal Product Manager

Open session

How is SWE & EM roles are changing in the age of AI

  • Amol Sharma

    Stripe

    Engineering Manager

Open session

Beware of Strangers Bearing Code: Open Source Trust in the Agent Era

  • Vikram Vaswani

    Consultant