5 ms·
Previous discussion: https://news.ycombinator.com/item?id=16052105 https://news.ycombinator.com/item?id=16052105 I've been using Stimulus + Turoblinks for my c
by scottharveyco 9y ago
Previous discussion: https://news.ycombinator.com/item?id=16052105 https://news.ycombinator.com/item?id=16052105
I've been using Stimulus + Turoblinks for my current side project and I love it. Nice and simple way to add a bit of interactivity to existing HTML on your page.
- franciscop 9y ago*Turbolinks, copy/pasted that for Google and didn't find anything relevant. Edit: thanks, I found it, I was just pointing out to the typo so other people don't get confused.
- danieltillett 9y agohttps://github.com/turbolinks/turbolinks https://github.com/turbolinks/turbolinks
- feb 9y agoTurbolinks is a feature in Rails. See for example https://github.com/turbolinks/turbolinks https://github.com/turbolinks/turbolinks
- deleted 9y ago[deleted]
- victor106 9y agoIs there anyway to use turbolinks with a java backend? Or is it only specific to rails?
- aczerepinski 9y agoYou can. Here's a blog post from somebody who uses it with an Elixir backend. https://changelog.com/posts/why-we-chose-turbolinks https://changelog.com/posts/why-we-chose-turbolinks
- nickjj 9y agoTurbolinks also works really well for static sites because all you have to do is drop in the Javascript and use it.
- romaniv 9y agoAllow me plug something. If you just want to "AJAXify" a few links and forms you could try the splice-into behavior from this repo: http://quickenloans.github.io/Behaviors.js/ http://quickenloans.github.io/Behaviors.js/ It has no server-side dependencies and should be easy enough to use. But it doesn't use push history, which limits its usefulness for more extensive use cases.
- JoshMnem 9y agoI don't think Turbolinks is a good idea from a usability standpoint. Too many UIs have a similar bar at the top, and they mean different things: a browser's loading bar, a website's loading bar, a website's read-progress, etc. I think it increases the user's cognitive load (at least for this user) to figure out which kind of bar it is and why the top of the page is animating. Turbolinks also makes websites appear extremely slow when on slow connections. It's much more frustrating to sit there with a loading bar hovering at 20-30% than to see a spinner.