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.
Thanks for reading All Things Typescript! Subscribe for free to receive new posts and support my work.
Deno 1.21 has improvements to testing facilities, the REPL, adds deno check, improves the language server, adds a new subprocess API, and more
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.
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.
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.
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.
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.
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.
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.
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.