RailsConf 2016 - Turbolinks 5: I Can’t Believe It’s Not Native! by Sam Stephenson
Why Hacker News recommends it
Repeatedly urged on people choosing a stack, as a case against heavy SPA complexity and for shared web and native code.
What it is
Sam Stephenson's RailsConf 2016 talk on Turbolinks 5, showing how small teams can ship fast Rails apps in the browser and hybrid iOS and Android apps sharing one set of web views.
Recommended by 6 HN commenters across 10 different months, 2017 to 2020.
What Hacker News said
Strong rec trcollinson · 2017-12 · on “Modern Front-end in Rails”
I built a rather extensive application for a client over the last 18 months using Rails API and Angular, using a number of these sorts of principles. While it is entirely possible to use what the article suggested, I argue it's a premature optimization and may be a detriment to the entire project. We're now actively removing the Angular portion of the project and going back to the good old way. I wouldn't say this decision was made without careful thought nor without weighing many options. But when it comes down to it, many line of business applications (which is what I see a lot of in the market) don't need the level of sophistication the instructions in this article gives. Most application
Strong rec peteforde · 2018-07 · on “Escaping the SPA rabbit hole with modern Rails”
I have nothing against SPAs for complex UI interactions. It's sort of like taking anti-biotics; there should be a moment of reflection when you should justify your true need, lest the cure be worse than the disease. Most developers of a certain age have come up when it's SPA by default, and can't truly defend why they need it. In this thread, there are several claims that it's impossible to write well-organized jQuery. That sounds an awful lot like dogma to me. Also, your inability to write well-organized code says more about your coding and team-management skills than it does about any one approach. Any tech is only as good as the team using it. A few years ago, Sam Stephenson (who original
Strong rec trcollinson · 2019-01 · on “Ask HN: First mobile side-project: What stack to choose in 2019?”
I found this video and talk to be very enlightening. I know it's not the neatest, most exciting framework, but Rails with Turbolinks sure can do the trick. My last two mobile applications were built in the same way that Sam Stephenson describes here. [this video]
Strong rec peteforde · 2019-01 · on “Ask HN: Go-to web stack today?”
I urgently encourage you and anyone else reading this to check out Turbolinks 5, ideally in tandem with Stimulus. [this video] [LINK] [LINK] You can get all of the benefits of server-generated pages with the speed of an SPA. 90%+ of the sites built using SPAs would be better served by Turbolinks and Stimulus.
Strong rec peteforde · 2019-03 · on “Why I believe Rails is still relevant in 2019”
Okay, I have lots of good news for you. First, CoffeeScript is formally deprecated. Turbolinks sucked, but Turbolinks 5 is an entirely new beast and it rocks. You need to give it a second look. I recommend this talk, sped up to 1.5x: [this video] Finally, there absolutely is an opinionated client library that is designed to pair beautifully with Turbolinks 5. It's called Stimulus and it rocks. [LINK] You can play with all of these frameworks using the --webpack parameter: rails new future --skip-sprockets --skip-coffee --webpack=stimulus --database=postgresql --skip-test As a bonus for anyone starting a new Rails project today, you're going to want to bookmark [LINK] Let me know if you have any q
Strong rec peteforde · 2019-03 · on “I Miss Rails”
I urge/beg you to check out the Turbolinks 5 + StimulusJS libraries, which are by the same (Rails team) people, which is no coincidence. [this video]
Strong rec thrownaway954 · 2019-03 · on “I Miss Rails”
I keep looking at C# and Blazor myself If you want an SPA type Rails way of doing things, you can use Turbolinks. This talk at RailsConf 2016 is really an eye opener. [this video]
Recommends thrownaway954 · 2018-02 · on “Ask HN: Best web framework in 2018”
[this video] if you haven't seen Sam Stephenson Turbolink talk from RailsConf 2016, you should give it a watch. What they did in a year with a small team is amazing.