Lenz Weber-Tronic's Avatar

Lenz Weber-Tronic

@phry.dev

Maintaining Apollo Client at Apollo GraphQL Redux Toolkit Co-Maintainer Creator of RTK Query Some additional keywords for people to find me: OpenSource, TypeScript, JavaScript, React web: phryneas.de phryneas on most platforms @phry on the bird

1,801
Followers
721
Following
769
Posts
27.10.2024
Joined
Posts Following

Latest posts by Lenz Weber-Tronic @phry.dev

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?

06.03.2026 10:32 πŸ‘ 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

24.02.2026 17:05 πŸ‘ 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...

19.02.2026 16:37 πŸ‘ 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 πŸ˜„

19.02.2026 15:35 πŸ‘ 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 πŸ˜…

18.02.2026 21:26 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

bsky.app/profile/tom....

18.02.2026 21:25 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Phew. Does that make any sense? ^^

18.02.2026 21:25 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

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.

18.02.2026 21:25 πŸ‘ 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

18.02.2026 21:25 πŸ‘ 4 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

TypeScript type of the day

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

18.02.2026 17:21 πŸ‘ 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

10.02.2026 14:47 πŸ‘ 15 πŸ” 3 πŸ’¬ 1 πŸ“Œ 1

That sounds great! Thank you!

05.02.2026 07:21 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

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

04.02.2026 23:29 πŸ‘ 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 :)

04.02.2026 14:12 πŸ‘ 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 ;)

04.02.2026 14:07 πŸ‘ 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.

04.02.2026 14:03 πŸ‘ 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.

04.02.2026 14:03 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

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.

04.02.2026 13:59 πŸ‘ 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.

04.02.2026 13:59 πŸ‘ 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 🧡

03.02.2026 16:40 πŸ‘ 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...

03.02.2026 15:52 πŸ‘ 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.

03.02.2026 15:49 πŸ‘ 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.

03.02.2026 13:59 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

TypeScript excitement πŸ˜‰

Congrats to @jakebailey.dev on updating upstream tsc to default to an unpinned *latest* yearly edition of ES20xx. Heading for TS 6.0 πŸŽ‰

This mean less transpilation of new JS features & more use of native language features provided by JS engines πŸ‘

github.com/microsoft/Ty...

31.01.2026 10:37 πŸ‘ 82 πŸ” 12 πŸ’¬ 2 πŸ“Œ 2
Post image

Real-world results from using response caching in Apollo GraphOS Router πŸ‘‡

Faster responses. Less subgraph traffic.

Read More: https://apollographql.pulse.ly/9fibh5u8ab

28.01.2026 19:00 πŸ‘ 2 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Preview
@stream all the things with Apollo Client 4.1 - Apollo GraphQL Blog | Apollo GraphQL Blog Apollo Client 4.1 introduces full @stream directive support, compatibility with the latest GraphQL incremental delivery spec, and powerful new APIs for working with fragments.

Apollo Client 4.1 is out, go and stream all the things!

22.01.2026 09:14 πŸ‘ 4 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0

Great rabbit hole.
But also, `strict` by default. You are a hero!

15.01.2026 08:45 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Spending the day closing PRs to bump "vulnerable dependencies" from `^2.1.1` to `^2.1.2` .
It's a bit of a shame that security scanners highlight vulnerable packages, but don't explain that you can just bump transitive dependencies without the need to update dependents.

05.01.2026 11:54 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
GitHub - laststance/redux-strorage-middeware: SSR-safe Redux middleware for LocalStorage persistence with hydration control SSR-safe Redux middleware for LocalStorage persistence with hydration control - laststance/redux-strorage-middeware

I created a middleware called redux-storage-middleware github.com/laststance/r...

because redux-persist hadn’t been maintained for a long time. Internally, it’s inspired by atomWithStorage from Jotai. (Big thanks to @dai_shi!)

04.01.2026 00:34 πŸ‘ 2 πŸ” 1 πŸ’¬ 1 πŸ“Œ 0
Post image

πŸ₯³ TypeSlayer is out! celebrate by posting what your type graph looks like! it legit has an actual leaderboard now: so bonus points if you win lol πŸ†πŸ†

run: `npx typeslayer`

source: github.com/dimitropoulo...

02.01.2026 01:59 πŸ‘ 82 πŸ” 22 πŸ’¬ 2 πŸ“Œ 3