Remco Haszing
banner
remcohaszing.nl
Remco Haszing
@remcohaszing.nl
Open source software developer, cat servant, coffee to code converter, metalhead 🤘

https://remcohaszing.nl
https://github.com/remcohaszing
Not yet! But it’s the main reason I’m trying to upgrade to Next.js 16.
November 12, 2025 at 9:24 PM
The next-intl update is so good
🌐 next-intl 4.5: useExtracted

→ For humans & AI
→ Next.js-first by design
→ Full Turbopack support
→ SWC-based parsing
November 12, 2025 at 7:58 PM
Here are some relevant links for anyone interested.

TypeScript integration: github.com/mdx-js/mdx-a...
Linting & formatting: github.com/remcohaszing...
Lint rules: github.com/remarkjs/rem...
November 9, 2025 at 7:08 PM
In the logs I see no indication that trusted publishing is being used. However, I do see that provenance is published. You use a third party tool that hides details.

github.com/remcohaszing...
November 8, 2025 at 9:09 AM
GitHub Actions is the publisher. This is visible in the npm website search results as well as the `npm search` command: www.npmjs.com/search?q=est...
November 8, 2025 at 9:06 AM
I wouldn’t say spawning an instance of an app is performant. It really depends on the app. Starting and stopping a web server and/or database and/or Docker container takes time. Or maybe you mean something else. The definition of “app” is overloaded.
November 7, 2025 at 2:54 PM
Currently there’s no way to toggle dark mode. As a result, developers turn to hacks, such as a class based approach. This results in many websites having terrible dark mode support, especially on initial visit or after a long time.
I really look forward to seeing navigator.preferences land in browsers. That means websites can finally make proper dark mode toggles.
Media Queries Level 5
drafts.csswg.org
November 6, 2025 at 3:09 PM
Thank you for maintaining that account for as long as you did! ♥️
November 1, 2025 at 5:23 PM
Indeterminism
October 31, 2025 at 11:53 AM
Doesn’t this count towards the code review percentage on their profile page? If so, it’s a way to get a legitimate looking GitHub profile with more activity and more diverse activity.
October 30, 2025 at 7:05 PM
Don’t edit that Slack message. It will break the codeblock formatting.
October 30, 2025 at 6:24 PM
This also isn’t really about something I would recommend, but it is something I’ve seen several times in practice.
October 30, 2025 at 6:06 PM
It’s relatively common to do:

const string = String(stringOrBuffer)

The Node.js dependency is only introduced by types. Of course the right solution is to use export conditions, but your users probably don’t configure that correctly.
October 30, 2025 at 6:05 PM
There’s no way for libraries to tell TypeScript it accepts a type which may or may not be defined. This is a huge pain for libraries that work in the browser, but can also accept a e.g. Buffer in Node.js. It’s also a problem for things like MDX/Vue/Astro TypeScript integration.
Placeholder Type Declarations · Issue #31894 · microsoft/TypeScript
Background There are times when users need to express that a type might exist depending on the environment in which code will eventually be run. Typically, the intent is that if such a type can be ...
github.com
October 30, 2025 at 1:03 PM
Do you mean something like jimp?
Using in Browser
How to use Jimp in the browser.
jimp-dev.github.io
October 30, 2025 at 11:22 AM
Aaaand it’s merged. The upcoming version of @vscode.dev will support dotenv out of the box.
Add dotenv support by remcohaszing · Pull Request #273074 · microsoft/vscode
This adds basic language support for the dotenv language. This includes syntax highlighting and a language configuration file. The dotenv language is applied to files with the .env extension, files...
github.com
October 30, 2025 at 10:23 AM
Babel plugins can’t extend syntax
October 30, 2025 at 8:05 AM
A stock screenshot of minified JavaScript on a Python article or vice versa tells me it wasn’t written by a serious author.
October 29, 2025 at 11:40 AM
This can only be used for one thing though. Multiple magic comments and directives can be combined, or they can even be scoped to functions etc.
October 29, 2025 at 9:14 AM
`foo.test.ts` has been around for a long time. I kind of like it. In Next.js I also end up sometimes creating `foo.tsx` and `foo.client.tsx` with a `'use client'` directive.
October 29, 2025 at 9:01 AM
I would avoid introducing either really.
October 29, 2025 at 8:06 AM
Comments are harder to parse. Directives have a place in the AST with a clear scope. Comments are often attached based on a best guess. They aren’t part of ESTree.
October 29, 2025 at 8:02 AM