Copy
View this email in your browser

This Week in Web

5th August 2018 - #32

This week we compare WebSockets with SSE, take an in-depth look at the cost of JavaScript and the CSS Scroll Snap API in Chrome 69.

Enjoy 🎊

Using SSE instead of WebSockets for unidirectional data flow
The common answer to utilising real-time data is WebSockets, with HTTP/2 we now have another option, let’s understand the real-world limitations.

I created the exact same app in React and Vue, here are the differences
Sunil compares the implementation detail of an identical app using two different frameworks.

Well-controlled scrolling with CSS Scroll Snap
As of Chrome 69, CSS Scroll Snap allows web developers to create well-controlled scroll experiences by declaring scroll snapping positions, enabling common UX scroll patterns without the need for JavaScript.

The cost of JavaScript
Back in edition #26, we included a talk from Addy at Fluent 2018. This is his detailed write-up on his thoughts and findings on the effect of JavaScript on the web experience. P.S. there is a tl;dr.

Notable Tweets

Screen shot of using Netinfo API

NetInfo API + ServiceWorker = resilient web experiences. (another) great writeup by @DeanoHume on leveraging NetInfo API for serving dynamic resources based on effective connection speed: http://bit.ly/2vlO4OP

via/ @igrigorik

Copyright © 2018 This Week in Web, All rights reserved.


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.

Email Marketing Powered by Mailchimp