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

Malmรถ, Sweden
Alex / KATT ๐Ÿฑ retweeted
Let's talk about #GraphQL & @trpcio! @bdougieYO will sit down with @alexdotjs & @mxstbr to discuss the similarities, differences, and use cases for each of these technologies! Get your ticket today to the ReactJS Holiday Party on Dec 14 in SF! ๐Ÿ‘‰ lu.ma/reactholidayparty2022?โ€ฆ
4
24
tRPC will likely require TypeScript 4.9 pretty soon, does that satisfy you?
17
7
335
Hey @vercel folks, a @nextjs 13 RSC / App Layouts question. ๐Ÿ™‹โ€โ™‚๏ธ Is there any way of creating "forked versions" of code within my app w/o it being a lib? I want to do some logic that behaves differently in RSC & `"use client"` (and the client shouldn't receive the RSC-code)
2
1
35
Is maybe `typeof window === "undefined"` magical & removes code from the client/server bundle including referenced imports? Can I use `process.browser` or equivalent?
3
3
Support the tech you depend on (or even better, get your employer to do so)
๐Ÿ’– Thank you so much @alexdotjs for doubling your GitHub sponsoring. I'll put @trpcio on the front page of my blog asap! I wish @github would send email notifications for these events, I almost missed it ๐Ÿ™ˆ github.com/sponsors/TkDodo
27
๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ that's 16 stars ๐Ÿ‘† each of those represents a thousand people who've now starred @trpcio on GitHub, that is pretty damn crazy
๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ @trpcio just smashed 15,000 stars ๐Ÿ˜ฑ ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ

ALT tRPC surrounded by 15 stars

7
3
125
๐Ÿ tRPC is great. ๐ŸŠ GraphQL is great. They can and should be compared, but neither is "better" nor a silver bullet
4
7
142
Do you have any feature requests for @trpcio? What are you missing / what issues do you struggle with on a day-to-day basis?
45
5
76
We borrowed @remix_run's implementation on how they create a JSON representation of a specific type... then @s4chinraja improved it and fed that back into Remix! OSS is pretty cool sometimes huh? Also, follow @s4chinraja, he'll be your boss some day
TypeScript jump to definition + refactoring is coming to a framework near you! @remix_run
3
9
186
... & then @AndaristRake goes and makes a PR to **TypeScript itself** to improve this further ๐Ÿคฏ
Replying to @s4chinraja @trpcio
I should add more tests and stuff but this looks promising: github.com/microsoft/TypeScrโ€ฆ
22
(Reluctantly) added an example in @trpcio that uses service-oriented architecture github.com/trpc/trpc/tree/maโ€ฆ
6
4
56
I'm going to SF in two weeks and will be here!
You're cordially invited to the Andreessen Horowitz React.js Holiday Party on Dec 14! With amazing f&b, live jazz, incredible sponsors & networking opportunities, & 4 special guest speakers: @tomocchino @mxstbr @alexdotjs @bdougieYO See you there! RSVP๐Ÿ‘‡ lu.ma/reactholidayparty2022/โ€ฆ
1
10
We just published an update to @trpcio that automatically serializes your output types to how JSON does it, in case you are **not** using something like superjson. tRPC without data transformers is now a lot better! ๐Ÿฅณ github.com/trpc/trpc/releaseโ€ฆ
5
11
157
We should've done this earlier. I made an issue a long time ago, but ppl haven't complained about the current behavior & I use superjson myself so I haven't cared about "fixing" it either. I guess most people use superjson๐Ÿคทโ€โ™‚๏ธ
2
21