⚡️ Hotwire dev newsletter - October 2021 edition
A curated, monthly roundup of the best Turbo (Native), Stimulus, and Strada articles, code, courses, and more by Joe Masilotti.
Welcome back to the ⚡️ Hotwire dev newsletter! Dive into two live coding videos, a podcast on Turbo Native in the real world, and some “missing” documentation for Turbo Frames. There’s also some great developers looking for work – don’t forget to check out the Jobs section towards the bottom.
📹 Videos and 🎙 podcasts
Just Enough Hotwire for Rails Developers with Chris Oliver
by Stefanni Brasil @stefannibrasil and Thiago Araujo @thdaraujo
Watch Chris Oliver live code a Turbo app with Rails 7 with the folks from hexdevs. esbuild, Tailwind CSS, Procfiles, web sockets and more are covered.
All you need to know to build Dynamic Forms (JS FREE)
by Santiago Bartesaghi [@santib6](https://twitter.com/santib6)
Watch Santiago’s RailsConf 2021 talk on how he used ActiveModel’s API together with the Form Objects pattern to support his dynamic forms feature. Oh, and all without a single line of custom JavaScript.
Turbo Native & Hotwire - How Polywork Supercharges Development
by emoteruby @remote_ruby
Learn about all the cool stuff that Polywork is doing to make their Rails app happen on iOS with Turbo Native. Also, things that make a good Rails Developer.
🐙 Open source
kirillplatonov/shopify-hotwire-sample
by Kirill Platonov @kirplatonov
A pretty full-featured sample app for Shopify’s JSON web token (JWT) integration with Hotwire Turbo. Even if you aren’t interested in Shopfiy, there’s a JWT example for Rails’ Request.JS.
🎓 Tutorials
Hotwire: Typeahead searching
by Sean Doyle @thoughtbot
A thorough tutorial that starts with rails new
, integrates Turbo Drive, Turbo Frames, and Stimulus, and then gets progressively enhanced. Plus, it degrades gracefully when JavaScript is unavailable.
Turbo Frames on Rails
by David Colby @davidcolbyatx
David shares what he’s learned from a year of building Turbo Frames applications of all sizes. A great read for anyone asking what’s next after reading the official documentation.
Rails Turbo Broadcast Update to Partial
by Dusty Candland @candland
A quick overview of how to send page updates with Hotwire using a specific partial. Bonus: the tutorial includes some unit tests for the broadcast.
Hot Glue: A Scaffold Companion for Turbo-Rails and Hotwire
by Jason Fleetwood-Boldt @jaflebol
Hot Glue is the Rails scaffolding generator on steroids. Learn how to integrate it into your app with this tutorial.
Filter, search, and sort tables with Rails and Turbo Frames
by David Colby @davidcolbyatx
Another tutorial from David this edition – this time he builds a table that can be sorted, searched, and filtered all at once, with very little custom JavaScript.
👩💻👨💻 Jobs
Hire Jared White
Jared White is an experienced Ruby, Rails, and web developer specializing in streamlined and elegant application architecture. He is also the lead maintainer of Bridgetown, an open source Ruby-powered site generator.
Hire Nils Tellería
Senior Software Engineer focused on full-stack web development with Ruby on Rails and modern JavaScript. Expertise in different programming languages and platforms. “Hotwiring” cloud services dashboards lately.
Hire Qasim Qureshi
Qasim is a software engineer and entrepreneur who loves writing clean, test-driven Ruby and ES6 code—wrapped in perfectly crafted containers for CI/CD. He co-founded a (defunct) start-up, sometimes rides a dual-sport bike, goes hiking, and has summitted several mountains, including one active volcano.
And finally…
Did you know you can add custom methods that are automatically available in the Rails console? I didn’t!
