Category: angular js

Bundle-time macros with Bun

June 1, 2023 By Mark Otto Off

JavaScript Macros in Bun — Not content with giving the JavaScript world a brand new bundler, Bun’s Jarred has taken it a bit further: ‘macros’ that run at bundle time with the result being directly inlined into your code. They use stage 3 annotated import…

Microsoft shrunk the TypeScript

May 25, 2023 By Mark Otto Off

DeviceScript: TypeScript for Tiny Thingamabobs — DeviceScript is a new Microsoft effort to take the TypeScript experience to low-resource microcontroller-based devices. It’s compiled to a custom VM bytecode which can run in such constrained environments. (A bit like Go’s TinyGo.) It’s aimed at VS Code…

jQuery lives on; major changes teased

May 18, 2023 By Mark Otto Off

Bun’s New Bundler: 220x Faster than webpack? — Bun is one of the newest JavaScript runtimes (built atop the JavaScriptCore engine) and focuses on speed while aiming to be a drop-in replacement for Node.js. This week’s v0.6.0 release is the ‘biggest release yet’ with standalone…

Why Svelte is converting TypeScript to JSDoc

May 11, 2023 By Mark Otto Off

The JavaScript Ecosystem is Delightfully Weird — There are plenty of examples of how JavaScript is weird but Sam focuses on the why. If you’ve been a JS developer for many years you’ll have seen it go through many phases and morph to fit its…

‘It’s a miracle anything about this ecosystem works at all.’

May 4, 2023 By Mark Otto Off

Psst.. if you’re wondering about the context of today’s subject line, see the first ⚡️ In Brief. Angular v16 Released — With the “biggest release since the initial rollout of Angular”, v16 of the extensive framework introduces a preview of a new signals-based reactivity model (a.k.a. Angular…

Did you know JavaScript is trademarked?

April 27, 2023 By Mark Otto Off

Trivia: This trademark issue is why the standardized form of JS is called ECMAScript. ???? Articles & Tutorials ???? Partytown is worth considering if you’d like to run potentially resource intensive third-party scripts in Web Workers. Modern Alternatives to Create React App — create-react-app was the ‘go…

On the origin of packages

April 20, 2023 By Mark Otto Off

Introducing npm Package Provenance — As stewards of the official npm registry, GitHub has been keen to improve its security. As of this week, if you build npm packages through GitHub Actions, you can publish the provenance of a package which gives users a way…

The return of ECMAScript 2023 (and Angular)

April 13, 2023 By Mark Otto Off

The JavaScript Equality Table Game — Minesweeper will feel like a walk in the park after this reminder of the horrors of JavaScript’s ==. If you need to go in depth, Section 7.2.14 of the ECMAScript spec will help, but otherwise? Stick to three equals…

JavaScript on your schedule

April 6, 2023 By Mark Otto Off

❓ JavaScript Weekly on a Thursday? It’s true. As well as it being Good Friday tomorrow, we’ve decided to move to Thursday permanently going forward. We hope you have a good Easter, if you celebrate it, otherwise enjoy one fewer email on Fridays ????__Your editor, Peter Cooper…

Import maps go universal

March 31, 2023 By Mark Otto Off

JavaScript Import Maps Now Supported Cross-Browser — ES modules provide a modern way to include and reuse JavaScript code in web apps, and import maps provide the bridge between using module names in code and where those modules can actually be loaded from. Thomas Steiner (Chrome…