World Congress 2025 • Aug 20, 2025 • Session details

MVI: Minimum Viable Interface for React Components

Daniel Espino Garcia

Stop building highly flexible React components for specific business needs. The Minimum Viable Interface restricts props and eliminates impossible states to drastically improve long-term maintainability.

Pause
Mute Enter Fullscreen
#1 about 3 min

Origin and philosophy of the minimum viable interface

Applying strict minimal component interfaces to business code rather than generic library patterns.

#2 about 3 min

Benefits of reducing cognitive load and limiting props

How fewer component props improve readability, facilitate testing, and simplify AI code generation.

#3 about 2 min

Defining the interface of React components

Treating props, context, and state as the core communication boundaries of a component.

#4 about 3 min

Contrasting library code flexibility with strict business code

Why business applications should aggressively restrict component options compared to open-source UI libraries.

#5 about 2 min

Applying the yagni principle to component properties

Avoiding speculative features and exposing only the functionality required by current business needs.

#6 about 5 min

Using booleans and enums over open-ended styling props

Restricting component variations by replacing arbitrary strings, class names, and React elements with strictly typed booleans or enums.

#7 about 3 min

Wrapping external libraries to control component APIs

Encapsulating third-party dependencies within custom wrapper components to simplify maintenance and prevent unauthorized prop usage.

#8 about 2 min

Preventing impossible states in component configurations

Utilizing union types to enforce logical constraints and eliminate contradictory combinations of component properties.

#9 about 3 min

Managing business changes and strict interface trade-offs

Navigating the friction of updating deliberately constrained component interfaces when new product requirements emerge.

Matching moments

5:01 min

Designing flexible and reusable component APIs

Emma Britnor Emma Britnor · World Congress 2024

2:02 min

Combining clean architecture and MVVM in React

Marc Brehmer Marc Brehmer · Europe 2026 Virtual

3:08 min

Fundamentals of building interfaces with React

Daisy Muyldermans · LIVE

44 sec

Constructing basic UI components using React hooks

Marc Rousavy Marc Rousavy · World Congress 2025

3:46 min

The rise of modern component-based frameworks and modular architecture

Sasha Shynkevich · LIVE

3:00 min

Summarizing modern patterns for robust interactive components

Aurora Scharff Aurora Scharff · World Congress 2025