Hacker News new | ask | show | jobs
by ckorhonen 2059 days ago
I used Turbolinks for the first time on a new Rails app about 2 years ago and was floored by the impact - it felt like a SPA in terms of no page loads and overall speed.

I'm convinced that this is the solution for the majority of use-cases, combined with selective usage of either React components or something like Stimulus where you need more sophisticated UI components.

1 comments

Is there an equivalent of Turbolinks for something like Django? Or even for MVC PHP apps?
If you're a Laravel user you'll want to look into Inertia.js[1].

[1] https://inertiajs.com/

Turbolinks isn't specific to rails.
I think the more generic term is Pjax.
You can use Turbolinks on any front end project (I use it on my static sites), it has a standalone JS library.
As mentioned, you can use Turbolinks with django. There's also Intercooler/htmx, and Unpoly.
most people using livewire on laravel also use turbolinks, it's just a javascript plugin, it's not rails specific.