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

Malmรถ, Sweden
This version is huge. It contains *a lot* of improvements & pushes the boundaries of what can be done in the TypeScript DX. Here's an example where we jump straight to a backend function by just CMD+clicking it in the frontend ๐Ÿคฏ๐Ÿ‘‡
5
3
66
Heyheheyheyhey!!!๐Ÿ‘‹ I got something exciting to share! We just released the version 10 beta of tRPC! ๐Ÿš€ Go have a look! ๐Ÿ‘‡๐Ÿ‘‡ (also, the website has gotten a real facelift recently ๐Ÿ‘€) trpc.io/?v=10
31
90
671
Alex / KATT ๐Ÿฑ retweeted
Replying to @furkanklyy
Not only will it all be type-safe, but it will also support (nay... encourage) full runtime validation. You can use whatever you want, but you can bet that it will play very nicely with Zod schema parsing and of course @alexdotjs's TRPC
2
2
25
@mattpocockuk this stuff would make for an excellent course for more advanced usecases and bigger projects ๐Ÿ‘€
12
๐Ÿ ๐Ÿ ๐Ÿ ๐Ÿ
Thread about TypeScript performance for tRPC and how we made the React Query integration 2-3x faster for v10
2
1
25
Is this over-engineering or nice? Trying to avoid `switch`-statements in my code typescriptlang.org/play?jsx=โ€ฆ
8
39
Alright I raised a feature request, thanks @mattpocockuk for suggesting github.com/microsoft/TypeScrโ€ฆ
2
12
Doesn't work well with inlined `Options` tho which is very sad
2
3
Apparently we have to redeclare `Options` ๐Ÿฅฒ Is there a lint rule for this? typescriptlang.org/play?#codโ€ฆ
1
9
Anyone knows why these don't act the same way and how I can make number 2 act like number 1? typescriptlang.org/play?#codโ€ฆ (zup @mattpocockuk?๐Ÿ‘€)
12
4
104
Imagine doing any big refactor [of code you haven't written yourself] without type-safety
28
8
177
This site is amazing, read it: grugbrain.dev
1
15
71
Alex / KATT ๐Ÿฑ retweeted
Friendly reminder to please use @trpcio because it's amazing ๐Ÿคฉ
๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ ๐Ÿคฏ @trpcio just passed 12k stars! ๐Ÿคฏ ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ
3
7
77
๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ ๐Ÿคฏ @trpcio just passed 12k stars! ๐Ÿคฏ ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ
๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ tRPC.io reached 10,000 stars yesterday! Truly awesome. ๐Ÿ’ž ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ
7
4
118
Alex / KATT ๐Ÿฑ retweeted
Having some fun with @trpcio v10 and @nextjs today. Really amazing stuff @alexdotjs ๐Ÿ™Œ trpc.io/docs/v10/nextjs
1
4
102
Alex / KATT ๐Ÿฑ retweeted
the web is better when we work together โœจ
12
44
352
There's only 1 lonely post in there so far even & there are >1k members on the discord!
2