Strada explained via a real app
Hey folks and happy new year,
To celebrate I'm trying out a new email design. I'm also going to include a few links to Hotwire content from around the web every week. Hit reply and let me know what you think!
This week's topic is Strada, an optional add-on for?Turbo Native apps?that enables native components driven by the web. It unlocks?progressive enhancement?of individual controls without converting entire screens to native.
For example, converting a <button> to a UIBarButtonItem on iOS or rendering a HTML modal with ModalBottomSheetLayout on Android.
But I found it hard to really understand what Strada does before I saw any code. So I thought it best to walk through some code from a real world app and explain everything that’s going on.
Here’s a 10 minute video covering the Strada integration in my open source app, Daily Log. It highlights how the native button component is built, the HTML markup required, and the Stimulus controller that glues it all together.
Hopefully that helps connect some dots around what Strada is and how it can be used!
What are you excited to use Strada for in your Turbo Native app?
I help companies build better software with an emphasis on high quality combined with speed of execution.
1 年Joe Masilotti Great coverage on this topic. Enjoyed seeing some Stimulus familiarity when you start jumping into your bridge components around 1:35. The mobile side of things will continue to look somewhat weird for those that have not done much mobile development, but another area I thought you do a good job getting those without mobile experience more comfortable.