TENJAVASCRIPT

10 fresh write-ups from the JavaScript world. Comes out every Friday (or Saturday if I'm overloaded).

1188 subscribed.
1.

Object preventExtension vs seal vs freeze

ECMAScript 5 introduced new Object methods to Javascript. Among them preventExtensions, seal, freeze methods will be compared to each other.

2.

Understand JavaScript sequencing and asynchronous behaviors to leverage code parallelism.

A little guide on how you can improve your applications performance using JS concurrency model and leveraging code parallelism.

3.

Attributes of object properties in JavaScript

In this blog post, we take a closer look at how the ECMAScript specification sees JavaScript objects. In particular, properties are not atomic in the spec, but composed of multiple attributes (think fields in a record). Even the value of a data property is stored in an attribute!

4.

Scaling WebSocket Connections using Shared Workers

Web Sockets allow real-time communication between the client browser and a server. They are different from HTTP because they not only allow client to request data from the server but also allow server to push data from the server.

5.

⭐ TypeScript In Under 2 hours

Are you looking for an opportunity to start with TypeScript? I've started a new video course to help you with that. We'll walk through some very basics of types to advance topics. We'll see how to migrate an existing project to TypeScript, and finally, learn to configure Visual Code and Vim for a comfortable and productive workflow. While it is still in progress, you can order it now with 67% discount using this link.

6.

Announcing TypeScript 3.7

We’re thrilled to announce the release of TypeScript 3.7, a release packed with awesome new language, compiler, and tooling features. If you haven’t yet heard of TypeScript, it’s a language based on JavaScript that adds static type-checking along with type syntax.

7.

Optional chaining and nullish coalescing in TypeScript 3.7 - YouTube

Curious about all the TypeScript 3.7 hype? Check out this video to learn more about optional chaining and nullish coalescing in TypeScript 3.7.

8.

Gradual move to TypeScript. Running JavaScript and TypeScript side-by-side

TypeScript has a lot of advantages. However, it’s not often that you are starting a brand new project. More often though you are working on an existing codebase and simply don’t have luxury of rewriting everything from scratch. After all, we need to deliver new features and fix annoying bugs.

9.

Strongly-typed destructuring and rest parameters - Carl's Blog

Destructuring assignment and rest parameters are awesome and typical in codebases these days. Is it possible to strongly-type these though

10.

Building Great User Experiences with Concurrent Mode and Suspense

At React Conf 2019 we announced an experimental release of React that supports Concurrent Mode and Suspense. In this post we’ll introduce best practices for using them that we’ve identified through the process of building the new facebook.com.

Even Older Issue →