re: Hey.com / New front end paradigm / What is DHH cooking? VIEW POST


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

code of conduct - report abuse