Week 08 - New Turbo Native releases, playing sounds with the Audio API, and more!
This issue of Hotwire Weekly covers the latest articles, tutorials, videos, libraries, and releases related to Hotwire technology.
Welcome to Hotwire Weekly!
Welcome to the another issue of Hotwire Weekly! This edition covers the latest Hotwire articles and releases.
Happy reading! 🚀✨
📚 Articles, Tutorials, and Videos
Hotwire Modals in Ruby on Rails with Stimulus and Turbo Frames - Ayush Newatia wrote an article on the AppSignal Ruby Magic blog on how to build modals with Stimulus and Turbo.
Video demo: Turbo 8 and Turbo Native - Joe Masilotti demonstrates that Turbo Native works with the Turbo 8 morphing feature and also shows the upcoming fixes to improve the experience even more.
When do we use Turbo 8 Page Refresh and Morphing? - Bhumi published an article talking about when to use page refreshes and when to use morphing with Turbo 8.
Playing Sounds in Rails with the Audio API - Akshay Khot explored the Campfire source-code to figure out how Campfire implements the /play
feature using the browser-native Audio API.
Add Geolocation to Search with Rails and Stimulus - Andy Leverenz published a tutorial and video teaching how you can implement a Geolocation search using the Geocoder gem and Stimulus.
Multi-column drag and drop with Sortable.js and Stimulus - Vlad Andreev wrote about their approach to implement the ability to drag and drop cards between multiple columns using Stimulus.
Preview images on upload with Stimulus - Zain Butt explains how to implement a Stimulus controller that shows image previews on file uploads.
How to add hotkeys to your Rails app with Stimulus - A new blog post on Rails Designer shows you have to integrate GitHub's hotkey
library in a Stimulus controller.
Book Update: The Rails and Hotwire Codex - Ayush Newatia announced the release date of the upcoming "The Rails and Hotwire Codex" book update. The update covers Rails 7.1, Turbo 8, Strada and will drop on March 7th, 2024.
Upcoming Livestream: Back to morphing - working on Turbo 8 & LiveComponents - Ryan Weaver announced an upcoming YouTube livestream on Wednesday (February 28th) where they are going to work on Turbo 8 and LiveComponents.
Livestream-series: Turbolist - Rebuilding Superlist.com in Rails/SQLite/Hotwire - Stephen Margheim completed a full week of daily livestreams on YouTube rebuilding Superlist.com in Rails and Hotwire. Checkout the YouTube Channel to catch up on any of the livestreams. The source-code for the app can be found in the GitHub repo.
🧰 Libraries and Tools
Morphlex - Tiny (less than 1KB), safe, fast DOM morphing.
🎉 Releases
turbo-ios v7.0.2 - iOS framework for making Turbo native apps.
turbo-android v7.0.3 - Android framework for making Turbo native apps.
turbo-rails v2.0.4 - Use Turbo in your Ruby on Rails app.
symfony-ux v2.15.0 - A JavaScript ecosystem for Symfony built on Stimulus.
stimulus-laravel v1.0.0 - Use Stimulus in your Laravel app.
importmap-laravel v2.1.2 - Use importmaps in Laravel.
rich-text-laravel v2.0.0 - Integrates the Trix Editor with Laravel.
turbo_boost-commands v0.2.0 - Commands to help you build robust reactive applications with Rails & Hotwire.
view_component v3.11.0 - A framework for building reusable, testable & encapsulated view components in Ruby on Rails.
proscenium v0.15.0.beta.2 - Modern client-side development for Rails.
Feel free to follow us on Twitter/X or on Mastodon!
See you next week!