Issue #349 · December 4, 2023

Announcing TypeScript 5.3

“In carpentry, you measure twice and cut once. In software development, you never measure and make cuts until you run out of time“”

Hello, |LIST:NAME| Welcome to issue #349.

I am just back from Las Vegas where I attended re:Invent, the biggest AWS conference of the year and, with more that 60.000 participants, definitely the biggest conference I ever attended, and by far! It's not going to be surprising to see some announcements from re:Invent or things that I learned by speaking to awesome folks there in the selected content for this week. I hope you will enjoy it!

Announcing TypeScript 5.3

Announcing TypeScript 5.3

One of the biggest announcements of the last couple of weeks was the release of a new version of TypeScript which comes with many welcome improvements and additions. My favourite one is the switch(true) narrowing, but I'll let you figure out all the other juicy things packed in this release.

Articles

Web Components: Eliminate JavaScript Framework Lock-in

Web components can dramatically loosen the coupling of JavaScript frameworks. This article does something crazy to prove this statement: it builds an app where every single component is written in a different JavaScript framework.

aws-lite: Faster and lighter AWS SDK for Node.js

At re:Invent I had the pleasure to meet Brian LeRoux in person. Brian is one of the masterminds behind aws-lite: A simple, fast, extensible, and community-driven AWS client. If you are trying to squeeze an extra inch of performance from your Node.js Lambdas, this one might be worth looking into!

Promises training

Practice working with promises through a curated collection of interactive challenges. This repository provides a platform to refine your skills, complete with automated tests to to give you instant feedback and validate your progress.

Biome formatter wins the Prettier challenge

I am falling more and more in love with the Biome project. The ability to have very fast JavaScript/TypeScript formatting and lining in one project is amazing. On top of that, enabling Biome is super easy and it can be greatly configured to suit all your desperate needs. It was great to see that Biome won the prettier challenge. I am sure this will bring more trust and adoption to the project.

A Node + TypeScript + ts-node + ESM experience that works

How painful it is to configure TypeScript correctly to work with ESM in a Node.js project? Maybe it's easy enough for some people, but, if you ask me, I'd say it's definitely painful (and probably one of those killjoys when it comes to using TypeScript). This gist provides a ready-made solution that just works, so you might conveniently use it as a starting point for your next project.

Book of the week

The DynamoDB Book

The DynamoDB Book

by Alex DeBrie

DynamoDB is exploding in popularity. It's fast, scalable, and fully-managed. But it's not your father's database. Data modeling in DynamoDB is different than the relational data model you're used to.Learn how to properly design your data model with DynamoDB to avoid problems later.

Additional Links