Opens profile photo
Follow
Click to Follow phry
Lenz Weber-Tronic
@phry
Working on Apollo Client Redux Toolkit Maintainer RTK Query : bit.ly/3YabCCG GH sponsor: bit.ly/3hzEWCl @phryneas@chaos.social
Deutschlandphryneas.deJoined May 2009

Lenz Weber-Tronic’s Tweets

This is doubly infuritating, because it will break the RTK Query "React" module, just after we released `react-redux` 8.1 to make it possible to use `createApi` in React Server Components. Is there any way for a package to opt out of this analysis & only error on hook execution?
1
10
Show this thread
Just published React-Redux v8.1.0! This adds dev mode checks for common mistakes with `useSelector` (always returning new references, returning `state`), + a workaround for importing in RSC environments. We've also cleaned up the hooks API docs a bit:
6
85
Show this thread
Some amazing wizardry going on there 👀👀👀
Quote Tweet
We're shipping original React component names 🚀 You can now record a replay in prod and inspect the original React components! blog.replay.io/changelog-52:-
Show this thread
Image
4
Most sandboxes in CodeSandbox are stored in a Postgres database. 40M+ sandboxes and 400M+ files stored in Postgres, and we still have performant load times. When going with Postgres, I thought "this is the first thing we'll have to replace". Still didn't happen after 6 years 🤷
Quote Tweet
In 2020 Figma started hitting growing pains with their single managed Postgres database. That means they managed to grow to a $2B company on a single mged instance. I bet at they hired engineers around this time who grumbled about not picking a more ‘scalable’ tech.
Show this thread
16
1,590
Show this thread
I’ve seen a couple folks talking about losing followers for supporting Pride and the LGBTQ+ community. It’s really too bad that supporting someone’s right to be alive and happy is in any way controversial. To all my friends: Happy Pride! 💜
LGBTQ pride flag
Quote Tweet
Bar graph showing the number of new email subscribers added per day, from March to June. Every day until June 6th (yesterday) had a positive number of subscribers, with a couple of big positive spikes. June 6th sees the first "negative" day, with only a small number of subscribers gained, and a large number of subscribers lost.
Yesterday, I sent an email about my new Pride-themed tutorial. The results are about what I expected: a few grumpy replies, and ~3x more unsubscribes than usual. It's sad that such a mundane email is polarizing, but ultimately, I'm glad these folks are seeing themselves out.
Show this thread
24
536
So I had to send in my HP Envy with an overheating problem and am back to my Thinkpad X250. I'm not sure what it is, but this is *so much nicer*! Might be that I am back to Linux now. Might be the keyboard. The pointing stick. I didn't expect to prefer my 8-year-old laptop.
1
5
We've decided it's worth doing a React-Redux 9.0 major alongside all the other upcoming Redux lib family majors. Current plans: - Require React 18+ and drop `useSyncExternalStore` shim - Update packaging - Alter `ReactReduxContext` for RSC compat
1
48
This is why we're building Replay! It doesn't magically solve the bugs for you... but it makes it _way easier_ to investigate what actually happened! If you can record it once, you can time-travel and investigate _any point in time_ in that recording! replay.io/record-bugs
Quote Tweet
If I don't immediately know the answer to a bug, I immediately reach for replay.io first. It's like HMR for repros.
1
34
Not really sure if I should be proud or ashamed of this one - but it should theoretically make it possible to call the `/react` `createApi` import of RTK Query, even in a React Server Component context - as long as you don't actually use the hooks in RSC.
1
12
Show this thread
Finally I get to be a React expert with 20 years of experience.
Quote Tweet
let’s rename react to php. to avoid the naming conflict let’s also rename php to react. everybody wins
Show this thread
10
👀👀👀
Quote Tweet
Replying to @ryanflorence
You inspired me to add a bundler-less reference implementation of RSC as a proof-of-concept. I'm not sure if this qualifies. The key is that it uses Loaders on the server - not bundling. It's not completely "raw" but pretty close. github.com/facebook/react
3