Advertisement · 728 × 90

Posts by Lenz Weber-Tronic

Preview
How to Build AI Agents Using Your GraphQL Schema - Apollo GraphQL Blog

If you already have a GraphQL API, you’re closer to AI agents than you think.

Apollo MCP Server exposes your existing operations as MCP tools — with schema validation, protocol translation, and secure execution built in. No backend changes required.

https://apollographql.pulse.ly/2r6ufpirne

1 week ago 7 1 3 0

Gotta take another look a those :) Thanks!

2 weeks ago 1 0 0 0

Oh, to be clear:
I'm not mad at the training. They can of course do that.
I'm mad because it is opt-out instead of opt-in, and it came in a "We’re updating our Terms of Service" email instead of an email titled "Alarm! Opt out now quickly or your stuff is fed to AI".

2 weeks ago 0 1 0 0

What are good alternatives to Vercel for free static hosting with good CI integration nowadays?
I really just want to deploy some JS, and get preview builds for branches/PRs.

2 weeks ago 1 0 3 0
A screenshot of an email from Vercel introducing AI model training, with a default that requires a manual opt out for free plans.

Full text:
Optional AI model training

You may choose whether Vercel can:

    Use your code and Vercel agent chats to improve Vercel models
    Share your code and Vercel agent chats with AI model providers 

Vercel will not share personal data, account details, or sensitive information like environment variables, and any information of this nature will be removed from data you make available for AI training.
Defaults by plan

    Hobby and Trial Pro: Opted in to AI model training by default, can opt out at any time
    Pro: Opted out of AI model training by default, can opt in at any time 

You can manage your preferences in Team Settings → Data Preferences.

A screenshot of an email from Vercel introducing AI model training, with a default that requires a manual opt out for free plans. Full text: Optional AI model training You may choose whether Vercel can: Use your code and Vercel agent chats to improve Vercel models Share your code and Vercel agent chats with AI model providers Vercel will not share personal data, account details, or sensitive information like environment variables, and any information of this nature will be removed from data you make available for AI training. Defaults by plan Hobby and Trial Pro: Opted in to AI model training by default, can opt out at any time Pro: Opted out of AI model training by default, can opt in at any time You can manage your preferences in Team Settings → Data Preferences.

I can't remember when I last noped out of something that fast.

2 weeks ago 1 0 1 0
TanStack Intent Generate, validate, and ship Agent Skills alongside your library — versioned knowledge that agents discover automatically from node_modules. Skills live in each library's repo and update when the package updates.

Those skills were created via TanStack Intent, which was an overall great experience.
In the next release, full TanStack Intent support will be shipped, but for now they're already available via `npx skills`.

2 weeks ago 2 2 0 0

Something I brewed up over the weekend:
```
npx skills@latest add reduxjs/redux-toolkit
```

Have fun with those skills :)

2 weeks ago 3 1 1 0
Advertisement

Since git supports gitignore in subfolders, you can also drop a .gitignore with the content "*" inside your dot folder.
Wouldn't that do the same?

4 weeks ago 0 0 0 0
Post image

Apollo GraphQL is joining the @aaif.io as a Silver member.

The infrastructure for agentic AI should be open. We’re in. https://apollographql.pulse.ly/y5tbwajp9h

#MCP #AgenticAI #AAIF #GraphQL #OpenStandards

1 month ago 8 4 0 1
Regular expressions (RegExp) • Exploring JavaScript (ES2025 Edition)

JavaScript—making regular expressions easier to read:

const RE_API_SIGNATURE = new RegExp(
String.raw`
^
(?<prefix>
new \x20
|
get \x20
)?
(?<name>
[
A-Z a-z 0-9 _
.
\[ \]
]+
)
`.replaceAll(/\s+/g, ''),
'v'
);

exploringjs.com/js/book/ch_r...

1 month ago 3 1 1 0
Post image

Incredibly hyped to announce Schema Benchmarks, a project I've been steadily working on in collaboration with @fabianhiller.com!

It aims to provide a central and transparent resource for many of the metrics that matter for schemas, including bundle size and runtime performance 😄

1 month ago 15 4 2 1

Hi, I think there's a lot wrong with me, but in this case I'm just caring for users with potentially weird edge cases too much 😅

1 month ago 1 0 1 0

bsky.app/profile/tom....

1 month ago 1 0 0 0

Phew. Does that make any sense? ^^

1 month ago 1 0 1 0
Advertisement

interfaces) too soon, it would be inlined based on the augmentation in place at compile time of the library, instead of at the compile time of the "final consuming app".
So adding this self-referencing loop here prevents that inlining until the last moment.
It makes the type lazy.

1 month ago 0 0 1 0

It prevents a type from being evaluated when it is emitted into .d.ts files by the compiler.

We have a few interfaces that can be augmented in userland, and if the library build process - or the build process of a userland monorepo utility library - compiles this type (that depends on augmented

1 month ago 4 0 1 0

TypeScript type of the day

```
export type LazyType<T> = T & { [K in "" as never]: LazyType<never> };
```

1 month ago 9 0 4 0

TypeScript doesn't have "Render Types"
(unlike Flow, more opinionated toward JSX)

This plugin proposes to implement render types constraints as an ESLint plugin

Cool idea 👌

This could improve type-safety and prevent many React composition mistakes

1 month ago 15 3 1 1

That sounds great! Thank you!

2 months ago 3 0 0 0

The functionality itself is great. It's just a bit much ^^

2 months ago 0 0 0 0

I've put a lot of work into that apollo-client skill.

It contains our latest recommendations on best practices - so if you want to tune out 10 years of outdated blog articles that went into AI training data, add this skill :)

2 months ago 2 0 0 0

All that said, today is a day where I just have a headache.
But that's probably the best state of mind to detect these issues and report them ;)

2 months ago 1 0 0 0

So I constantly scan the bottom left of my browser to find out which buttons are functionality and which buttons are links that lead me off-page.

2 months ago 0 0 1 0
A screenshot of a styled tooltip with very concrete information.

A screenshot of a styled tooltip with very concrete information.

A screenshot of an alt tag with the text "Inspect dependency tree". The button is an off-page link.

A screenshot of an alt tag with the text "Inspect dependency tree". The button is an off-page link.

One example of what's causing me problems:
Some icons have a tooltip that immediately appears.
For other tooltips, there's a really ambiguous title (would you have guessed this takes me to a 3rd party side?) that takes a few seconds to pop up.

2 months ago 0 0 1 0
Advertisement

Not sure where to leave that feedback, but the devs are active here, so it goes here :)

Could you consider to also add a "less distracting mode" next to "light/dark" modes?
I like the tabs in npm, they help me concentrate on one thing. I don't need all information at once.

2 months ago 3 0 2 0

I really applaud the work on @npmx.dev, but I just tried the page, and I find it to be extremely overstimulating.

It's a *lot* of information on the page at once, and there's no clear distinction between what is "npmx" and "package readme".
Hidden buttons and functionality are everywhere.

2 months ago 15 1 2 0
Rolldown - Lazy Barrel Optimization

Rolldown - Lazy Barrel Optimization

🚀 Lazy Barrel Optimization in Rolldown

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 🧵

2 months ago 85 12 2 5
Preview
Beyond React Testing Library: Testing React Libraries (and library-like code) by Lenz Weber-Tronic My talk is called Beyond Testing Library, Testing React Libraries or Library-like Code. We want to optimize code by minimizing re-renders, avoiding tearing, and ensuring granular rendering. React Test...

Relevant conference talk where I introduced it :)
gitnation.com/contents/bey...

2 months ago 1 0 0 0
Preview
GitHub - testing-library/react-render-stream-testing-library: A library to make commited-render-to-committed-render assertions on your React components and hooks. A library to make commited-render-to-committed-render assertions on your React components and hooks. - testing-library/react-render-stream-testing-library

I've created a testing library based on the `Profiler` component that turns rendering into a stream of "render/commit snapshots" (including DOM snapshots) that can be iterated on in tests.
But that's more targeting library authors and their unit tests - I don't have a good solution for E2E tests.

2 months ago 1 0 1 0

Just one - testing consistency, not just eventual consistency.
Most UI tests only test that UI will reach a target state, but anything could happen in-between. Literally, the whole page could go black for a second in-between.

2 months ago 1 0 1 0