Category: angular js

Is Turbopack really 10x faster than Vite?

November 4, 2022 By Mark Otto Off

Together with  What is a ‘Realm’ in JavaScript? — One of those things you don’t need to know, but that will flesh out your understanding of JS under the hood. A realm is essentially the complete execution environment for a JavaScript program. Gal Weizman Then if…

Turbo-charged incremental bundling au Rust

October 28, 2022 By Mark Otto Off

Together with  Turbopack: A Rust-Powered ‘Successor’ to Webpack — With over 3 billion downloads, webpack is the current champion of the bundlers (though Vite has been rapidly advancing). Vercel found it too slow and has funded work on Turbopack. It’s a project to keep an…

🪜 Decorating with Dr. Axel

October 21, 2022 By Mark Otto Off

Together with  Metaprogramming with the 2022-03 Decorators API — If you’re a Python developer, you’ll be miles ahead on this idea. If not, decorators provide a way to manipulate classes, fields, methods, and accessors at define time to give them extra, amended, or wrapped functionality…

Node to keep an eye on your code

October 14, 2022 By Mark Otto Off

Together with  ▶  Creating Your Own JavaScript Runtime with V8 — Want to join the pantheon of developers famed and esteemed for creating things like Node, Deno, and Bun by creating a JS runtime of your own? Erick takes us deep into the main moving parts…

Axios turns 1.0; TypeScript turns 10

October 7, 2022 By Mark Otto Off

Together with  🤔 If you wonder why people use Axios when the Fetch API is widely supporters, interceptors are just one of many features its fans cite. ‘I Turned JS Into a Compiled Language (for Fun and Wasm)’ — You can never be bored observing…

How TypeScript 4.9 satisfies

September 30, 2022 By Mark Otto Off

The Web Almanac 2022’s Take on the State of JavaScript in the Real World — What’s better: a survey, or real world usage data from 8 million sites? If you prefer the latter, this is for you. The Web Almanac is an annual ‘state of the…

Extractors for ECMAScript

September 23, 2022 By Mark Otto Off

A Proposed JS Feature: Extractor Objects — Entering stage one at the latest TC39 meeting is a proposal for being able to define your own logic (such as data validation or transformation) to run as part of the object destructuring process. A proposal worth reviewing. Ecma…

Seven weird ways to call a JavaScript function

September 16, 2022 By Mark Otto Off

MemLab: A Framework for Finding JavaScript Memory Leaks — Facebook (sorry, Meta) has been using MemLab to make significant improvements to the memory use of its main SPA. Now they’ve open sourced the tool (which is itself written in TypeScript) with the hope everyone else…

Anyone know Larry Ellison?

September 9, 2022 By Mark Otto Off

Ryan Dahl Asks Oracle to Release the ‘JavaScript’ Trademark — It’s in our small print, but did you know Oracle owns the ‘JavaScript’ trademark? This is why the standard is called ECMAScript instead. It’s all down to Netscape’s deal with Sun Microsystems, which Oracle later…

David’s handy JS debugging tip

September 2, 2022 By Mark Otto Off

12 Useful JavaScript Data Grid Libraries — A rundown of some data grid libraries for providing spreadsheet-esque views over datasets – Zara also shares her recommendations on things to consider when making a choice. Zara Cooper IN BRIEF: DEBUGGING TIP: David Walsh shows off Chrome’s rather…