3 ms·
Not Turbolinks! Turbolinks appears to make building a SPA without javascript easy, but what it really does is expose you to some of the hardest to debug javasc
by mkoryak 8y ago
Not Turbolinks!
Turbolinks appears to make building a SPA without javascript easy, but what it really does is expose you to some of the hardest to debug javascript bugs.
You will be fighting it every step of the way.
Stay away!
- handbanana 8y agoPlease expand?
- codyb 8y agoI've never even heard of Turbolinks but it sounds like a WYSIWYG editor where the initial ramp up cost is easy and then as soon as you hit any sort of unsupported customization you're stuck fighting computer generated code, same goes for tracing errors through some sort of inscrutable stack. Startup cost low. Development and maintenance cost high.
- Londerson 8y agoGuys, please: Turbolinks® makes navigating your web application faster. Get the performance benefits of a single-page application without the added complexity of a client-side JavaScript framework. Use HTML to render your views on the server side and link to pages as usual. When you follow a link, Turbolinks automatically fetches the page, swaps in its <body>, and merges its <head>, all without incurring the cost of a full page load. https://www.npmjs.com/package/turbolinks https://www.npmjs.com/package/turbolinks
- mkoryak 8y ago"all without incurring the cost of a full page load." Except that it just downloaded the whole page. Forget about any javascript that runs on doc ready in that fetched page, it wont run. It also caches a bunch of pages in memory, leaks event listeners etc! Let the fun begin!