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?
Top comments (4)
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
love it