Log inSign up
Lenz Weber-Tronic
13.6K posts
user avatar
Lenz Weber-Tronic
@phry
Working on Apollo Client @apollographql Redux Toolkit Co-Maintainer Creator of RTK Query phry.dev
Deutschland
phry.dev
Joined May 2009
1,050
Following
3,471
Followers
  • Pinned
    user avatar
    Lenz Weber-Tronic
    @phry
    Nov 16, 2024
    Your timeline might have quite a lot of butterflies today, and I've seen a bunch of people voicing the opinion that it's just "the libs leaving X". No. It's just impossible to have a technical discourse on a platform that uses an algorithm so tuned to ragebait.
    7.3K
  • user avatar
    Lenz Weber-Tronic
    @phry
    Oct 13, 2024
    Replying to @AdamRackis
    If you really don't care, click "accept all" once and forget it forever. If you do care, blame the lazyness or greedyness of that web site's owners - this warning is purely optional, they could also just respect their users.
    21K
  • user avatar
    Lenz Weber-Tronic
    @phry
    Jul 25, 2022
    Did you know you can make `reduce` even more unreadable by putting an async function in there?
    const someArray = [1,2,3,4]

const sum = await someArray.reduce(async (accumulator, element) => {
    // of course this could be something asynchronous
    // but seriously... just use a loop instead
    return (await accumulator) + element
}, Promise.resolve(0))
  • user avatar
    Lenz Weber-Tronic
    @phry
    Jul 5, 2023
    After witnessing "peak RSC frustration Twitter week", I sat down on the weekend and tried to write down my take on this - as a blog post. phryneas.de/react-server-cโ€ฆ More balanced. No unexplained frustration in 280 characters. And some constructive ideas.
    phryneas.de
    Lenz Weber-Tronic (phryneas) - My take on the current React & Server Components controversy
    97K
  • user avatar
    Lenz Weber-Tronic
    @phry
    Apr 18, 2024
    Replying to @kettanaito
    Very cryptic, but I get the hidden message.
    6.2K
  • user avatar
    Lenz Weber-Tronic
    @phry
    May 10, 2023
    I'm proud to announce that today we are launching an experimental package that will help people use Apollo Client with the new @nextjs App Router - in React Server Components, but also in Client Components with streaming SSR and Suspense!
    Using Apollo Client with Next.js 13: releasing an official library to support the App Router -...
    From apollographql.com
    76K
  • user avatar
    Lenz Weber-Tronic
    @phry
    Aug 29, 2023
    I didn't realize before, but in RSC, React.Component is not available anymore. Seems like React Class components are finally dead, officially.
    69K
  • user avatar
    Lenz Weber-Tronic
    @phry
    Mar 22, 2022
    I just came up with this neat trick to enforce that a hook argument or prop has hone through useMemo or useCallback. What do you think?
    // we want to enforce a parameter that has gone through useMemo or useCallback
export function useMyHook(arg: StableReference<MyArgumentType>) {
    // ...
}


// just put this in a .d.ts file in your project
declare const __StableReference : unique symbol;
type StableReference<T> = T & {[__StableReference]: true}
declare module 'react' {
    function useCallback<T extends (...args: any[]) => any>
  		(callback: T...
  • user avatar
    Lenz Weber-Tronic
    @phry
    Sep 20, 2023
    Replying to @alexdotjs
    You can even `return false` in the finally block and change the return value after the fact.
    8.7K
  • user avatar
    Lenz Weber-Tronic
    @phry
    Sep 26, 2022
    I am looking for a new job. Does your company have a great product made for developers and you need a Senior FullStack Developer or a Developer Advocate? Do you have internal teams that need support and coaching to stay on top of tech? We should talk.
    phryneas.de
    Lenz Weber-Tronic (phryneas) - up for hire
    Senior FullStack Developer and Redux Toolkit maintainer. Looking for a new job in a Senior Developer or DevRel position.
  • user avatar
    Lenz Weber-Tronic
    @phry
    Mar 3, 2020
    Replying to @kcnaija
    Have you actually read that thread?
  • user avatar
    Lenz Weber-Tronic
    @phry
    Oct 21, 2024
    I'm thrilled to finally announce the release of a new @testing-library, React RenderStream testing library. We have been using the underlying approach in over 500 Apollo Client tests for a year now, and it has given us a new level of confidence. (Link in next Post)
    46K
  • user avatar
    Lenz Weber-Tronic
    @phry
    Feb 1, 2023
    I'm happy to announce that today is my first day working at @apollographql! I'll be working on the Apollo JS Client library and its ecosystem. Let's make this even more awesome! ๐Ÿš€
    16K
  • user avatar
    Lenz Weber-Tronic
    @phry
    Dec 2, 2022
    Hey @kentcdodds, I just thought I give quick feedback: The promo emails have been piling up here. 16 emails in a week are not something that I want to get - it's quite annoying. I'm unsubscribed now. Is there something going wrong or is this intended?

New to X?

Sign up now to get your own personalized timeline!

Create account

By signing up, you agree to the Terms of Service and Privacy Policy, including Cookie Use.

Terms of Service|Privacy Policy|Cookie Policy|Accessibility|Ads info|ยฉ 2026 X Corp.
Don't miss what's happening
People on X are the first to know.
Log inSign up
✕

Wait! Don't Go Yet 🚀

Get our FREE eBook "10 Programming Tips That Changed Everything" when you subscribe!

No spam. Unsubscribe anytime.