Signals and Threads

Building a UI Framework with Ty Overby

29 snips
Oct 6, 2021
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ANECDOTE

NeoPets Sparked A Career In Web And Compilers

  • Ty's first web projects were NeoPets pet pages, which sparked a lifelong hobby in programming.
  • He later worked on compilers at Microsoft before joining Jane Street to blend PL work with web development.
ADVICE

Reduce Composition Boilerplate To Encourage Reuse

  • Avoid heavyweight boilerplate when composing components; excessive recomposition cost discourages modularization.
  • Ty rewrote composition from 50–70 lines for a simple combinator to compact Bonsai combinators to encourage reuse.
INSIGHT

Components As General Incremental Computations

  • Bonsai treats components as general incremental computations, not just view producers, letting many components output non-UI values used elsewhere.
  • This lets you compose state machines and values in a directed acyclic graph instead of forcing tree-structured UI tied to the DOM.
Get the Snipd Podcast app to discover more snips from this episode
Get the app