Ask A Question

Notifications

You’re not receiving notifications from this thread.

What is Hotwire Strada?

rickavmaniac asked in General

Hi, I am not sure what Hotwire Strada will be for?

Is it something to be able to do kind of mobile web app with our rails app?

Anybody know more details?

Reply

No idea either! DHH said something that you can do 95% of mobile with Turbo and no Strada. Doesn't really explain much, but I'm real curious when it ships!

Reply

Hi.

I looked at https://hey.com/ features. They say that their app is available as native app as well. Did they convert rails app to native app? or they used someother stack for this purpose and hotwire is just for web app? I am really curious to know that.

I am not sure, may be Strada is about converting rails app to native mobile app to publish on playstores?

Reply

Based on these two repos: https://github.com/hotwired/turbo-ios, https://github.com/hotwired/turbo-android, I think Strada is going to be some hybrid app framework.

Reply

From what I've read in other places—and I can't vouch for those sources—it is supposed to be something that replaces HTML fragments (shipped to the app with Turbo) with native controls. If I understood them correctly, this happens dynamically in the app, although I can imagine there being some compilation step involved too. That's my understanding based on unofficial sources, which might be wrong.

The official source currently only says it "standardizes the way that web and native parts of a mobile hybrid application talk to each other via HTML bridge attributes. This makes it easy to progressively level-up web interactions with native replacements." Interpret that as you will.

The official source also promises "Strada will premiere in 2022". I'm guessing that we'll see something around Christmas, along with Ruby 3.2.

Reply

The assumption you'll contribute additional quality presents on the current page. Much gratitude to you!

Reply

Here is an explanation from turbo-android repo in ADVANCED-OPTIONS.md

Executing JavaScript directly is fine for simple tasks, but we've found we need something more comprehensive for our apps, which is why we created a new framework called Strada. This is a library in 3 parts (web, iOS, and Android) for integrating Turbo Native apps with their hosted web apps. This is separate and optional, but can dramatically improve the experience of your app. See the Strada repo for details (coming soon).

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 81,842+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

    © 2024 GoRails, LLC. All rights reserved.