Using Hotwire with Rails for a SPA like experience

In a previous post I wrote about using Rails and Stimulus to create a SPA like experience with page navigation. Since then, the Basecamp team has released Hotwire to allow for similar functionality but with little-to-no Javascript.We’ll take a look at updating the experience from the previous post to use Turbo Frames to provide inter-page navigation. Later, we’ll sprinkle in some Stimulus to provide some visual feedback to the user with loading states.To recap, here is what we’ll be building.
Using Hotwire with Rails for a SPA like experience #ruby #rubydeveloper #rubyonrails #hotwire https://rubyonrails.ba/single/using-hotwire-with-rails-for-a-spa-like-experience

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles