loading...

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

adrienpoly profile image Adrien Poly ・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?

Discussion

pic
Editor guide
Collapse
adrienpoly profile image
Adrien Poly Author

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

Collapse
elmuerte profile image
Michiel Hendriks

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.

Collapse
jmfayard profile image
Jean-Michel Fayard πŸ‡«πŸ‡·πŸ‡©πŸ‡ͺπŸ‡¬πŸ‡§πŸ‡ͺπŸ‡ΈπŸ‡¨πŸ‡΄

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

Collapse
adrienpoly profile image