Bonsai: Janestreet's UI Library
Summary
Bonsai is a UI library for building performant, reactive web applications in OCaml. The article describes Bonsai's approach to incremental rendering with purely functional state machines, its composable primitives, and testing capabilities, along with its ecosystem (Bonsai_web, Bonsai_term) and preprocessors. It also highlights its open-source nature and how Jane Street uses it for internal apps.