August 2025
Intermediate to advanced
270 pages
6h 16m
English
Up next is addressing the web-based navigation bar that appears on every page. On mobile web, this navigation bar is a convenient way to display the title of the website and a few important links, like a hamburger menu of sorts. But your native apps have their own navigation bar. Native ones! There’s no need to display the same content twice in the apps. In this section, you’ll hide specific web elements for the Hotwire Native apps.
First, we need a way to identify the Hotwire Native app from other web requests. Lucky for us, the turbo-rails gem[21] comes with a helper to do exactly that. The Rails app is already using the gem, so no changes are needed on your end.
For the curious, here’s what the ...
Read now
Unlock full access