πŸ‘‹ I'm Alex & I tweet about web dev stuff Creator of @trpcio, work @square, scout @a16z

MalmΓΆ, Sweden
My mental model of how React renders my app is broken (again)
13
14
339
PHP DX is the northern star of everything I do with @trpcio πŸ’«
I knew the "hurr durr JavaScript devs have discovered PHP everything old is new again" takes were going to be grating but somehow I wasn't ready
1
29
I say it half jokingly, but the productivity you can have when writing SQL-queries next to your HTML is crazy
2
24
Is `force-cache` really a good default when that is not what the standard browser `fetch()` does? From beta.nextjs.org/docs/data-fe…
14
6
96
Updated this. - 🎨 Threw some tailwind on it - ♻️ Added a suspense boundary with some enforced waiting - ☠️ Some loading skeleton
Spent some time hacking with @trpcio + @nextjs 13 - πŸš€ Use tRPC in RSC &/or in client - β™Ύ Made infinite scrolling with the first page being RSC SSR'd - πŸ”’ Hacked next-auth to work It's ugly & code is quite messy, don't judge github.com/trpc/next-13 / rsc.trpc.io/
2
48
For the DX to be great, I'd like to have the same root "thing" to query tRPC so it's not `rsc.post.list.use()` / `trpc.post.list.useQuery`.... Unsure how to do that, feel like it might need some custom transpilation πŸ€”
2
6
Spent some time hacking with @trpcio + @nextjs 13 - πŸš€ Use tRPC in RSC &/or in client - β™Ύ Made infinite scrolling with the first page being RSC SSR'd - πŸ”’ Hacked next-auth to work It's ugly & code is quite messy, don't judge github.com/trpc/next-13 / rsc.trpc.io/
14
16
278
Some impressions: - RSC is a game-changer, but quite hard to grok the mental model between server/client concerns with RSC & how to structure it - Error handling needs work - why can't I deal with server errors on the server - Not played with "app layouts" much, but looks cool
3
1
21
Here are the beta docs in case you missed it πŸ‘‡ beta.nextjs.org/
1
7
Alex / KATT 🐱 retweeted
Hundreds of hours. Over 100 beta + alpha versions. Multiple blood sacrifices to the TypeScript gods. And we're finally nearing the end of the beginning: the @trpcio v10 Release Candidate is out!

ALT tRPC v10 Release Candidate npm install @trpc/server npm install @trpc/client npm install @trpc/react-query npm install @trpc/next

4
26
242
tRPC version 10 should *really* be viewed as tRPC version 2, I was just very strict about semver the first 6 months of tRPC (whilst very few people were using it) This is the first real *big* change to tRPC since its creation.
7
5
196
For a cutting-edge project, I think it's pretty decent that we've had over one year of a stable API-surface
38
Hopefully not a mistake to invite twitter to comment on this lol If you already use v10, don't worry, if we do this, we'll share a regex to search and replace this across your codebase.
1
10
Also don't hold back if you disagree, don't let my words taint yours
Can someone help me write or structure a blog post? The main thing holding back the RC of @trpcio 10 is my inability to write the announcement post πŸ€¦β€β™‚οΈ The whole marketing thing has never been my strong suit πŸ₯² I'm glad it hasn't held back the growth too much
18
4
103
A bit overwhelmed by this response 🀩, I'll try to ping some of you tomorrow! :)
6
🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟 @trpcio now has >14,000 stars 🀯 🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟
🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟 @trpcio just passed 13,000 stars on @github!!! πŸš€πŸš€ 🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟
2
4
92
`use` πŸ€”
12
6
195
For further context in case someone missed it: github.com/reactjs/rfcs/pull…
1
9