Wojciech Maj
wojtekmaj.pl
Wojciech Maj
@wojtekmaj.pl
Dad, husband, TypeScript developer.
...and an order of magnitude speedup is on its way 😎
November 29, 2025 at 5:45 PM
I test compat with tsgo on a daily CI job just in case, so like 7 of these are mine :D
November 26, 2025 at 6:38 PM
Is 20.19 a minimum Node.js version because of require(esm)?
November 26, 2025 at 10:12 AM
RFC spec compliance forcing insane edge case handling? Harder JIT optimization than 3 simple number getters?
November 25, 2025 at 11:51 PM
Try it yourself 🥴

jsperf.app/likagi/2/pre...
Menu
jsperf.app
November 25, 2025 at 8:44 AM
Surface Laptop 7, Snapdragon X Elite, 16 GB
November 20, 2025 at 3:56 PM
MBP 14" 2021, M1 Max, 64 GB
November 20, 2025 at 2:28 PM
That's correct! Unfortunately bundle sizes also grow accordingly.
November 17, 2025 at 4:43 PM
That's exactly what's going on. Look at the screenshot in the original post. I technically could do all the assertions after a single render (or two), reducing it to "merely" 600ms excessive wait, but I value DX very much.
November 17, 2025 at 3:57 PM
TBH you probably hear a lot of bad things about React simply because of how popular it is.
November 17, 2025 at 3:54 PM
In my project, nearly 900 tests were affected. That’s 4.5 minutes of extra waiting! ⏳

So I built vitest-plugin-react-fallback-throttle, a Vite (and therefore Vitest) plugin that fixes this:

github.com/wojtekmaj/vi...

Give it a try and let me know how your numbers improve! 🤓
GitHub - wojtekmaj/vite-plugin-react-fallback-throttle: Vite plugin for configuring FALLBACK_THROTTLE_MS in React 19
Vite plugin for configuring FALLBACK_THROTTLE_MS in React 19 - wojtekmaj/vite-plugin-react-fallback-throttle
github.com
November 17, 2025 at 2:15 PM
TIL about the JS "Declarations in Conditionals" proposal

This lets you write const/let inside if/while block

Curious, would you use this?
I think I like it, could make code slightly less verbose and still explicit

(TC39 stage 1, will be presented for stage 2 next week)

github.com/tc39/proposa...
November 11, 2025 at 10:55 AM
Thanks, now I want to play SimCity 2000.
November 11, 2025 at 10:52 AM
TFW you just wanted some red squiggly lines in your editor and suddenly you have an OSS project more popular than react-aria-components 💀
November 11, 2025 at 10:42 AM
Transatlantic flight?
November 10, 2025 at 12:47 PM
My favorite runner. I even get videos showcasing the issue 🤩
November 10, 2025 at 11:37 AM
I'm as surprised as I would be if I heard they were using ESLint 😁
November 5, 2025 at 4:56 PM
AI training on your data is enabled by default.

Sick OG title and description btw 🤣
November 2, 2025 at 7:52 AM
Ahh hello there fellow @yarnpkg.dev connoisseur 🧐
November 1, 2025 at 5:37 PM