Hey.com / New front end paradigm / What is DHH cooking?

twitter logo github logo ・1 min read

DHH announced last week a very promising new email service from Basecamp

Earlier DHH mentioned some new technics for optimizing front end (simpler code/faster)

Hey.com is built using this new approach and DHH will present it at Rails conf.

What are your guesses?

twitter logo DISCUSS (4)
markdown guide

Here is my take on this

With no surprise @dhh will announce Turbolinks 6 and Stimulus 2

My guess is that Turbolinks 6 will enable much finer grained DOM updates. Currently within a visit Turbolinks displays the preview but then replaces the entire DOM with the server response.

Here we could have something where the response comes in multiple parts (http/2) and the DOM is updated progressively.

Some how a backend collection of partials would generate multiple response includes lots of 304 (not modified).

Also probably some service worker in the background to help with that

my 2 cents


Given that the main selling point off HTTP2 is pipelining, it think it's optimizations in producing results more efficiently in pipelines. Like already producing results for the browser to consume while still processing the request.


I liked this tweet from Dan Kim, Android dev at basecamp :D

Classic DEV Post from Oct 28 '19

Understanding This, Bind, Call, and Apply in JavaScript

The this keyword is a very important concept in JavaScript, and also a particularly confusing one.

Adrien Poly profile image
Freelance Fullstack developer Rails React Javascript