Other Ways to SPAs
I mentioned on a podcast the other day that I sorta think WordPress should ship with Turbolinks. It's a rather simple premise:Build a server-rendered site.Turbolinks intercepts clicks on same-origin links.It uses AJAX for the HTML of the new page and replaces the current page with the new one.In other words, turning a server-rendered app into "Single Page App" (SPA) by way of adding this library.Why bother? It can be a little quicker. Full page refreshes can feel slow compared to an SPA. Turbolinks is kinda "old" technology, but it's still perfectly useful. In fact, Starr Horne recently wrote a great blog post about migrating to it at Honeybadger:.
Other Ways to SPAs #ruby #rails #rubyonrails #bosnia #programming #tutorials #rubydeveloper #railsdeveloper