News for hackers. Stuff that matters.
Re:HEY’s UI is 100% HTML by xlii on Tuesday June 16, 2020 @03:26AM (#23536742)
I never personally used Turbolinks but I heard rather unflattering opinions about it. Basecamp/37signals has a long history with Rails so probably they know its ins and outs.

Is it feasible to work as - let's say - solo developer in the startup?

Re:HEY’s UI is 100% HTML by welearnednothng on Tuesday June 16, 2020 @03:55AM (#23536887)
It absolutely is. Turbolinks’ bad rap is from earlier days and was partially due to just a different JS landscape where certain patterns relied on a hard refresh to not have memory leaks as you change page, or other odd behaviors.

I was one of many devs that would always setup new Rails projects without Turbolinks. Last year, I started a new product at work with a slim team and an eye on simplifying our tech and processes. This included giving Turbolinks and Stimulus a try.

Long story short, it was simple and straightforward and has a notable impact on perceived performance after the initial page load. We had a great experience with it.

These days with Turbolinks 5 it’s quite straightforward. There are some gotchas, but the readme covers various edge cases pretty thoroughly.

Since that project, I’ve gone solo and am working on my own commercial endeavor - and while I’ve been building large scale SPAs since before they were called RIAs, my new product is sure enough using Turbolinks (+ Stimulus).

My understanding is that Turbolinks 6 is coming soon that should be better, still.

Re:HEY’s UI is 100% HTML by BilalBudhani on Tuesday June 16, 2020 @03:36AM (#23536792)
I don't think you would need to know ins and outs of Turbolinks to leverage it in your app. It's a simple drop-in library which replaces `body` inner HTML instead of a full refresh in case of page navigation.

Its actual aim is to provide SPA like experience without modern JS complexity which is ideal for solo devs/small teams.

Also, it is worth noting that they are using Stimulusjs framework with Turbolinks.

Re:HEY’s UI is 100% HTML by irjustin on Tuesday June 16, 2020 @03:38AM (#23536807)
I'm a long time Rails guy. Sadly at any sufficient size of an application, I end up disabling Turbolinks.

Every time, I want it to work but you as you mentioned there's a few gotchas here and there that catch me unaware that cause me to shy away.

In the rails JS camp though is StimulusJS. I swear by this for developers that want a bit of JS sugar but don't need the full suite of Vue or React.

Re:HEY’s UI is 100% HTML by mytailorisrich on Tuesday June 16, 2020 @03:33AM (#23536777)
Basecamp/37signals are the creators of Turbolinks (and of course Rails itself).
Re:HEY’s UI is 100% HTML by pouta on Tuesday June 16, 2020 @03:29AM (#23536756)
Coming from nodejs, I'm considering building my next project in rails. I'm tired of having too many choices.

I would love for someone with more experience to to answer your question.