News for hackers. Stuff that matters.
Re:Intercooler.js – Simple AJAX Using HTML Attributes by cyberferret on Sunday July 08, 2018 @08:15PM (#17487078)
Turbolinks looks neat, but our Ruby app selectively includes CSS and Javascript snippets outside the <body> tag depending on what page is loaded (using :content_for declarations in our templates). I am guessing that Turbolinks will not work for us in this case, as the relevant external files will not be called on page load?
Re:Intercooler.js – Simple AJAX Using HTML Attributes by nicostouch on Sunday July 08, 2018 @09:58PM (#17487454)
turbolinks swaps out the <body> and merges the <head> tags of the incoming page with the existing <head> tag.