Using Turbo Frames and Streams Without Rails

Using Turbo Frames and Streams without Rails.
Recently I’ve been using Turbo frames and streams more and wanted to really understand how they work. To do that I set out to rebuild a very simple To-Do application (peak originality!), using Turbo but without Rails or turbo-rails gem. I did that using Sinatra1. As you’ll see, it was really simple. So simple I wondered if it’s worth a blog post. But then I realised that is kind of interesting in itself. At first I wanted to go really bare bones and started writing a pure rack application directly in config.ru file but quickly realised I’m basically recreating a very bad alternative to Sinatra so I moved to it instead. :leftwards_arrow_with_hook:

Read in full here:

This thread was posted by one of our members via one of our news source trackers.