It tells bundlers that a function has no side effects so every call to it can be tree-shaken if the result is unused.
Most bundlers and minifiers support it today.
But there's a nuance most people miss 👇
It tells bundlers that a function has no side effects so every call to it can be tree-shaken if the result is unused.
Most bundlers and minifiers support it today.
But there's a nuance most people miss 👇
Nice DX improvement for building SPAs
Nice DX improvement for building SPAs
Today, we spotlight @igalia.com! They are one of our small supporters and have been supporting us for 2 years now. Thank you! 💜
Today, we spotlight @igalia.com! They are one of our small supporters and have been supporting us for 2 years now. Thank you! 💜
Electron mostly uses C++ to embed both Node.js & Chromium.
Electrobun uses Zig to to embed Bun and - like Tauri - relies on the OS default web renderer.
🔷 Write apps in TypeScript
🧱 Process isolation
⚖️ 12MB base install size
Electron mostly uses C++ to embed both Node.js & Chromium.
Electrobun uses Zig to to embed Bun and - like Tauri - relies on the OS default web renderer.
🔷 Write apps in TypeScript
🧱 Process isolation
⚖️ 12MB base install size
Barrel file removal tool for JS & TS projects
Changelog:
→ Feat: always preserve root index.js/ts file
→ Docs: explain why certain barrel files are preserved: github.com/webpro/unbar...
github.com/webpro/unbar...
Barrel file removal tool for JS & TS projects
Changelog:
→ Feat: always preserve root index.js/ts file
→ Docs: explain why certain barrel files are preserved: github.com/webpro/unbar...
github.com/webpro/unbar...
Just because you need one thing from a module, you shouldn't pay the cost of all the others!
Just because you need one thing from a module, you shouldn't pay the cost of all the others!
- es2025 target
- new library additions/updates
- deprecation of node10
bsky.app/profile/type...
This release brings
- inference improvements for functions
- updates to package.json 'imports'
- the Temporal APIs
- alignments for the upcoming TypeScript 7.0
- & more!
Try it today!
devblogs.microsoft.com/typescript/a...
- es2025 target
- new library additions/updates
- deprecation of node10
bsky.app/profile/type...
It's a migration-assist flag to allow comparison of *.d.ts files made by TS 6.0 vs the future TS 7.0 Go compiler ⚖️
TS 7.0 relies on consistent type sorting across the many parallel compiler threads 🧵
devblogs.microsoft.com/typescript/a...
It's a migration-assist flag to allow comparison of *.d.ts files made by TS 6.0 vs the future TS 7.0 Go compiler ⚖️
TS 7.0 relies on consistent type sorting across the many parallel compiler threads 🧵
devblogs.microsoft.com/typescript/a...
🔶 Temporal
🔶 Map#getOrInsert
🔶 RegExp.escape
🔶 #/ prefix for Package Imports
New defaults!
🔶 --target=ES2025
🔶 "use strict"
🔷 --strict
Deprecations!
🗑️ baseUrl, outFile
🗑️ import assertions
🗑️ `module` namespaces
🗑️ module: amd
🗑️ moduleResolution: node
🗑️ target: ES5
This release brings
- inference improvements for functions
- updates to package.json 'imports'
- the Temporal APIs
- alignments for the upcoming TypeScript 7.0
- & more!
Try it today!
devblogs.microsoft.com/typescript/a...
🔶 Temporal
🔶 Map#getOrInsert
🔶 RegExp.escape
🔶 #/ prefix for Package Imports
New defaults!
🔶 --target=ES2025
🔶 "use strict"
🔷 --strict
Deprecations!
🗑️ baseUrl, outFile
🗑️ import assertions
🗑️ `module` namespaces
🗑️ module: amd
🗑️ moduleResolution: node
🗑️ target: ES5
He's done so many great things for open source already, so we're super happy to have him join us to chat about what he's been up to lately!
tune in tomorrow 🎉
He's done so many great things for open source already, so we're super happy to have him join us to chat about what he's been up to lately!
tune in tomorrow 🎉
you can use this to diff changes in your dependencies. e.g. trust/provenance, duplicates, significant size increases, etc.
check it out!
you can use this to diff changes in your dependencies. e.g. trust/provenance, duplicates, significant size increases, etc.
check it out!
Congrats to Lionel-Rowe on landing support for RegExp.escape in upstream TypeScript 🎉
Heading for TS 6.0 Beta next week 👍
github.com/microsoft/Ty...
Congrats to Lionel-Rowe on landing support for RegExp.escape in upstream TypeScript 🎉
Heading for TS 6.0 Beta next week 👍
github.com/microsoft/Ty...
Congrats to @moriken.dev on landing support for the ES2025 target in upstream TypeScript 🎉
Heading for TS 6.0 Beta next week 👍
github.com/microsoft/Ty...
Congrats to @moriken.dev on landing support for the ES2025 target in upstream TypeScript 🎉
Heading for TS 6.0 Beta next week 👍
github.com/microsoft/Ty...
Congrats to Renegade334 on landing support for @tc39.es "Upsert" in upstream TypeScript. Heading for TS 6.0 Beta next week 🎉
let map = new Map();
map.getOrInsert(key, defaultVal);
It sets a default value on a map key with no overwriting.
github.com/microsoft/Ty...
Congrats to Renegade334 on landing support for @tc39.es "Upsert" in upstream TypeScript. Heading for TS 6.0 Beta next week 🎉
let map = new Map();
map.getOrInsert(key, defaultVal);
It sets a default value on a map key with no overwriting.
github.com/microsoft/Ty...
Congrats to Renegade334 on landing type declarations for @tc39.es Temporal - the new JS Date-Time API - in upstream TypeScript 🎉
Heading for TS 6.0 Beta next week 👍
Temporal is available in Firefox & Chrome today.
github.com/microsoft/Ty...
Congrats to Renegade334 on landing type declarations for @tc39.es Temporal - the new JS Date-Time API - in upstream TypeScript 🎉
Heading for TS 6.0 Beta next week 👍
Temporal is available in Firefox & Chrome today.
github.com/microsoft/Ty...
github.com/nodejs/node/...
Initial support has released in 25.6.0
nodejs.org/en/blog/rele...
github.com/nodejs/node/...
Initial support has released in 25.6.0
nodejs.org/en/blog/rele...
These are for SPAs which don't do a full page load, but instead "fake it" by updating the current page and pushing a new history entry.
1/5 🧵
These are for SPAs which don't do a full page load, but instead "fake it" by updating the current page and pushing a new history entry.
1/5 🧵
Barrel files, files that re-export from other modules, are common in modern JavaScript projects but a nightmare for your build time.
Rolldown now has Lazy Barrel Optimization to fix this.
Here's how it works 🧵
Barrel files, files that re-export from other modules, are common in modern JavaScript projects but a nightmare for your build time.
Rolldown now has Lazy Barrel Optimization to fix this.
Here's how it works 🧵
CPU utilization is lying to you.
Your auto-scaler adds pods while your actual bottleneck gets worse.
Luca and I explain why ELU is the metric you should be watching.
📅 Feb 4th
CPU utilization is lying to you.
Your auto-scaler adds pods while your actual bottleneck gets worse.
Luca and I explain why ELU is the metric you should be watching.
📅 Feb 4th