All Things Typescript Newsletter - Issue #6
Good morning and I hope you had a great weekend. As we look ahead to the coming week, we will look at a few notable articles, tweets, and pieces of knowledge from the last week. This week, we saw the announcement of Node v18, with experimental support for fetch API, which is one step closer to API parity between NodeJS and Browser API. Please learn more about this and more in the announcement section below.
Announcements
Node.js 18 is now available! | Node.js
We’re excited to announce that Node.js 18 was released today! Highlights include the update of the V8 JavaScript engine to 10.1, global fetch enabled by default, and a core test runner module.
Deno 1.21 Release Notes
Deno 1.21 has improvements to testing facilities, the REPL, adds deno check, improves the language server, adds a new subprocess API, and more
Netlify Edge Functions: A new serverless runtime powered by Deno
Build fast, personalized web experiences with Netlify Edge Functions: a serverless runtime built for on Deno, and compatible with your favorite JavaScript frameworks.
My Article
Island Architecture
Imagine this; what if you could create your web app with pure HTML and CSS for all the static content but then add in regions of dynamic content or interactivities - islands - that can use a framework to add interactivity.
Articles
Understanding JavaScript’s Array.GroupBy - LogRocket Blog
Learn how to use groupBy, a new data-grouping addition to JavaScript that is not yet in the core language, and its alternatives.
3 Web Observers Every Web Developer Should Know
In the browser, we can use addEventListener to listen to user events, but what if I want to listen to DOM changes or to listen to some browser behavior? Browsers provide us with several Observers to meet these needs.
TypeScript-based caching decorators
I am currently working on a smart building project which has dozens of services. Some of the services are providing the basic meta information, such as building, level, rooms and etc.
Strongly-Typed Event Params for Your Node.JS Lambda Endpoint Handlers
One of the things I miss when working with HTTP lambda handlers, is the lack of typing when accessing keys like the event.body, event.queryStringParameters, and event.pathParameters. Let’s create a strongly typed handler function to deal with this issue.
Web Components as Progressive Enhancement
I learned this the hard way… On a few recent projects we’ve wanted to create an auto-expanding textarea: When a user types its height would increase so that its content is never clipped.
Upgrading to React 18 with TypeScript
The upgrade of the React type definitions to support React 18 involved some significant breaking changes. This post digs into that and examines what the upgrade path looks like. After a significant period of time in alpha and beta, React 18 shipped on March 29th 2022.
The Painfully Shy Developer's Guide to Networking for a Better Job (Without Being Creepy)
Look, I get it. A bunch of web developers, recruiters, and vendors standing around in a room eating pizza or drinking beer and making small talk might sound like complete and utter death for you. There may be a million things you’d rather be doing.
Writing code is easy
That is right, writing code is not a big deal. Engineers that just started their software career would beg to differ, but let me explain. At the end of the day, code is just instructions we pack together and send to the computer, so it can do its job.