3 ms·
I would really like to see an option in Turbolinks to be opt-in instead of opt-out. Instead of applying the pjax-type behavior to all links unless they have dat
by jrochkind1 14y ago
I would really like to see an option in Turbolinks to be opt-in instead of opt-out. Instead of applying the pjax-type behavior to all links unless they have data-no-turbolink, only apply to links that have data-turbolink (or ideally a completely unobtrusive option to do $(node).turbolink() or $(node).data("turboLink", true) or something. Although this is made more complicated by turbolinks intentional lack of jquery dependency).
Probably not too hard to add it to it. Maybe i'll get around to making up a patch myself if nobody else does.
But I'd be a lot happier with turbolink on a link-by-link opt-in basis.