Skip to content

Software Engineer at Heydoc

Top picks — 2022 May

Moving a macOS window by clicking anywhere on it (like on Linux) #

The macOS is full of hidden gems that are configurable only via CLI (hidden from the System preferences UI). For example, this command enables moving an app by holding Cmd + Ctrl and dragging the window. Not a new thing for die-hard Linux users. Thank you for sharing Matteo.

A Community Group for Web-interoperable JavaScript runtimes #

This article on the Cloudflare blog introduces Web-interoperable Runtimes Community Group (WinterCG), a new community group focused on improving the interoperability of web platform APIs across runtimes (especially non-browser ones). Something like W3C but for other runtimes. A significant announcement and I hope that job of developers targeting Node.js, Deno and Cloudflare Workers will become easier.

What’s new for the web platform #

This is one of these presentations that I wait for every year. Una and Jake from the Google Web Platform team presented several new features coming to the Web. I know some of them and even use them in production with an appropriate fallback, but a few are new to me. The new COLRv1 font format combined with the new CSS size-adjust is a powerful method to display and control web fonts. ITNP (interaction to next paint) is a new metric that the Google team is experimenting with, and in my opinion, it is much more valuable than the time to the first interaction.

Roboto … But Make It Flex #

Roboto, the default font used on Android and probably the most popular font ever, got a significant update. Roboto goes flex, which means that there is finally a variable version of this font face. It gives users crazy 12 axes to play with and adjust to their taste. Roboto Flex is probably the most configurable font that I have ever seen. If you are too lazy to read the whole blog post, at least check this promo video. It is sick!

Node.js 16.x runtime now available in AWS Lambda #

It finally landed. Node.js 16 runtime support for AWS Lambdas is here. New ECMAScript features are just a partial reason why you should be excited. For example, combining provisioned concurrency with top-level await can give you a significant performance boost.

What the useEvent React hook is (and isn’t) #

A few days ago, Dan Abramov published a proposal for the new useEvent() hook. This feature can reduce re-renders of React components. Dan provides several good examples in his document. The article that I am recommending today is a very brief explanation of the new feature and the problem it is trying to solve by Nick Scialli from SolidJS core team.

Layouts RFC #

The Next.js team dropped a big announcement. New Layouts API is the revolutionary way pages can reuse layouts. By doing this change, we can benefit from all the advantages of Server Renderered Components recently added to the React.js. In addition, this proposed API is so elegant and doesn’t require a lot to change the mental model compared to the “old” way of working with routes in Next.js.

Patterns.dev - Modern Web App Design Patterns #

This project created by Lydia Hallie and Addy Osmani is a collection of design patterns software engineers use with a strong focus on the Web and React. Everything is nicely described and categorised into three main groups: Design Patterns, Rendering Patterns and Performance Patterns. I am a big fan of this project! Lydia does fantastic work for Vercel, and Addy’s explanations of design patterns are good. I still go back to his book about the same subject he published about a decade ago.

Leave a comment

👆 you can use Markdown here

Your comment is awaiting moderation. Thanks!