turbolinks: Detailed Overview & Metrics

v5.2.0(over 6 years ago)

This package was last published over a year ago. It may not be actively maintained.Types definitions are provided via a separate npm package: @types/turbolinksNumber of direct dependencies: 0Monthly npm downloads

Turbolinks is a JavaScript library that enables faster navigation between pages in a web application by using AJAX to fetch only the body of the page and replacing it without a full page reload. This approach significantly reduces load times and provides a smoother user experience by preserving the application state and avoiding unnecessary re-renders.

Compared to traditional full-page reloads, Turbolinks offers a seamless transition between pages, making web applications feel more like native apps. It is actively maintained and widely used in Rails applications. Alternatives like PJAX and StimulusReflex provide similar functionality but with different trade-offs in terms of complexity and features.

Alternatives:
hotwire-turbo+
pjax+
barba.js+
swup+
instantclick+
unpoly+
smoothstate.js+
navigo+
page.js+
aos+

Tags: javascriptajaxnavigationwebperformance