The Bridgetown Web Framework (npub17vg…zgca) #Ruby web framework used to regenerate an entire static site on each change. Fine for smaller sites, but could take seconds on larger ones!
But now with Fast Refresh, only verifiably stale pages get rebuilt, and the browser reloads almost instantly—a huge quality of life improvement. DX at its finest.
What ✨ magic ✨ made this possible? Dependency-tracking via linked lists and closures—aka Signals. What the what? Let’s dive in.
https://www.fullstackruby.dev/jamstack-frameworks/2024/11/20/dissecting-fash-refresh-and-signals-in-bridgetown/