Marvin Hagemeister

Marvin Hagemeister

@marvinh.dev

I build simple and fast things. Part of Preact team.

2.5K followers177 following336 posts

Marvin Hagemeister reposted

One minor feature of Preact 11 that we haven't talked about much is the strictly typed aria roles on HTML elements, where possible. In short, `<header role="form">` will now be a type error. Spent quite a bit of time going through the spec docs to build that out, doing our part to make the web more

Marvin Hagemeister reposted

Preact 11 is out 🎉 We’ve been hard at work at making our diffing use modern features like moveBefore , leveraging ESM for tree-shaking Preact Compat and ensuring you have a great experience with resumed hydration.

Marvin Hagemeister reposted

New Things You Should Know About HTML Here in Mid 2026 The foundational language of the web is getting plenty of love lately! While HTML moves a bit more slowly than its buddies, CSS and JavaScript, that tends to be a good thing. I'm not gonna do, like, in here. That's too basic for you. Tha

blog.master.devNew Things You Should Know About HTML Here in Mid 2026The foundational language of the web is getting plenty of love lately! While HTML moves a bit more slowly than its buddies, CSS and JavaScript, that tends to be a good thing. I’m not gonna do, like,…

Marvin Hagemeister reposted

It's so great to see this sort of cross-pollination of ideas (and generous sharing of credit): the tsgo-based API exposes AST nodes to JS in a way that's inspired by @marvinh.dev's work on Deno's Rust-based linter.

So many good things are coming to TS 🙌

Andrew Branch@andrewbran.ch

If you’re not stalking TypeScript PRs, you might be surprised how much you can do with the API in nightlies (and even in 7.0 stable), so here’s a tiny demo that I think hits some of the highlights. 🧵

How to speed up vitest: De-barrel everything so that the module graph gets smaller. Saves both processing + import time. And get rid of module mocks, which prevents many de-barelling opportunities.

I've been waiting for full bundle mode since the webpack days. Excited that it's becoming a thing now in vite!

Vite@vite.dev

🚀 Vite 8.1 is out ⚡ Experimental Full Bundle Mode: ~15x faster dev server startup & ~10x faster full reloads on large apps 🧩 Chunk Import Map to keep chunks stable & improve caching 🦀 WASM ESM integration 💡 Lightning CSS on the road to default 👀 and more! vite.dev/blog/announc...

I feel like it has become hard to follow actual discussions on PRs with so many integrations commenting. Not sure why GitHub hasn't given them a dedicated integration rather than everyone just using comments.

Mad respect for Jake here. As someone who is into endurance sports (cycling) a little, walking 100km is highly impressive. Takes a lot of mental strength and being very in tune with your body.

Jake Archibald@jakearchibald.com

In 2021 I did a 100km walk for Cancer Research and you all raised £20k. I will never ever forget that. I did it again in 2022, just for 'fun', and tomorrow I'm doing it again (although this time in my 40s). I'll post updates to this thread, so mute it if you don't care.

Marvin Hagemeister reposted

You only notice how bad npm's 2FA token reuse is once you transition 102 repositories to use provenance with GitHub environment gating... I had a 2FA code in my clipboard that worked for a solid minute

Marvin Hagemeister reposted

New post on supply chain security for npm packages — covering the publishing workflow I push in the projects I maintain, plus the consumer side: why pnpm is a better default than npm, its native minimumReleaseAge config, and trustPolicy: no-downgrade to catch provenance regressions automatically.

jovidecroock.comHardening publishing &amp; consumingA practical look at reducing blast radius in npm publishing workflows — environment-gated OIDC publishing, limiting manual access, and what consumers can do on their end.

Marvin Hagemeister reposted

actively incentivising larger dependency graphs is bad for the ecosystem

James@43081j.com

i deleted my post about tidelift as i didn't want to speculate. here's a 2nd attempt after further research: - tidelift pays you more if you split your package into smaller pieces - 20-30 lifted packages can earn you $1-2k/month big users have 100s of lifted packages. there may be a cap.

Marvin Hagemeister reposted

TSRX now supports Vue Vapor! Plus we've extended the runtimes support to include Preact. We will soon have an MCP server for TSRX so you can plug it into your favorite AI agent. TSRX is still alpha, so we're looking for early feedback from the Vue community tsrx.dev/getting-star...

I feel like that's the biggest issue in our industry and AI has just multiplied that tenfold. Software that improves people's lives is created with care. I feel like we're teaching a generation of developers that it's totally normal for stuff to be broken all the time. Not sure how to solve this.

patak@patak.cat

Almost 20 days after launch, the new npmjs dark mode is still utterly broken. I celebrated when they released it. It's great to see npm working on new features. The web needs MS to invest in the registry. But this isn't the way. They should remove dark mode until they have the time to do it right.