~/talk

Less Is More: Designing Lean React Component Interfaces for Maximum Impact

Talkat reactjsday 2025 · on Thursday, 2025-10-16· [react, component-design]
links:none on file
slides:none on file

Mattermost runs both web and React Native apps and applies a concrete claim: keep component props to a Minimum Viable Interface so tests, refactors, and swaps cost less. Examples: an input with both error and errorMessage creates an impossible state; HTML buttons expose 100+ props while material UI documents ~17. Strategy used is to wrap libraries so swapping a button library changes one file. Reported result: fewer props, fewer test combinations, easier replacements.

AI-written summary · about

  1. 0:00Lean React interfaces
  2. 3:39Minimum Viable Interface
  3. 11:29Business vs library code
  4. 15:26MVI design principles
  5. 24:38Why libraries matter
  6. 28:13Avoiding impossible states
  7. 30:44Context management
  8. 32:49MVI trade-offs
  9. 36:49Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.