Mithril's m.request: Declarative Data Fetching Without the Boilerplate
Mithril's m.request wraps fetch, returns a promise, and hooks into the framework's auto-redraw system—eliminating boilerplate for loading, error, and success states. Here's how it works, a complete user-list example, and where the trade-offs bite.