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

Malmรถ, Sweden
So incredibly grateful for the support of @t3dotgg and his amazing community ๐Ÿ’˜
1.5 years later, I'm still loving @trpcio youtu.be/6Q4v6jdFzWA
1
3
94
21,326
Has anyone done a decent abstraction for polymorphic joins in Prisma (or @DrizzleOrm, or kysely)? I don't mind if it's not that performant and does extra queries. Hacked a bit on this a few months ago in Prisma and got *okay* DX
12
1
55
13,558
Example what I mean: - Table file has a file_type enum with values image, pdf - Table file_image has fields width, height - Table file_pdf has field num_pages Then, I want to query files easily join in file_image, file_pdf & and use file_type as a discriminated union
10
9
5,268
Alex / KATT ๐Ÿฑ retweeted
This may be my greatest work #graphql
42
41
607
51,283
Alex / KATT ๐Ÿฑ retweeted
tRPC is pretty conceptually heavy. Here's a little guide on a few of the more confusing terms.
22
114
951
133,572
Alex / KATT ๐Ÿฑ retweeted
Full-Stack TypeScript with tRPC ๐Ÿคฏ Amazing DX for end-to-end type safety. Not sure how I should feel about GraphQL type generation now ๐Ÿ˜… Complete tutorial ๐Ÿ‘‡ for a CRUD application featuring React, Node, TypeScript, and tRPC. robinwieruch.de/react-trpc/
7
20
99
11,212
I'm glad destucturing exists but it's def overused. If you only use a prop once, all you're doing by destructing it is to add extra code, make discoverability of what else is on the object harder and add indirection on where the variable comes from. Don't destruct in args, plz
I wish JavaScript never got destructuring, because itโ€™s so overused. Iโ€™m so tired of people ripping apart objects and putting them back into slightly different shapes for no reason. Poorly defined data structures and options/props bags everywhere
6
7
87
48,282
Alex / KATT ๐Ÿฑ retweeted
Type safety without writing the types yourself? This is now possible for all methods and variables with special meaning to SvelteKit! svelte.dev/blog/zero-config-โ€ฆ
21
47
356
85,434
Alex / KATT ๐Ÿฑ retweeted
Is there a good course on @trpcio ? Any recommendations?
9
3
98
42,270
Alex / KATT ๐Ÿฑ retweeted
I have been laid off. Iโ€™m looking for a role where I can have impact. I especially like developing things that make other developers' lives easier. (Insert RxJS joke). I have a lot of experience in canvas, language parsing, data visualization, perf, and low level JS/TS.

ALT The Office Dog GIF

63
150
643
307,456
lol @ twitter breaking their own t.co short-links
4
2
71
8,509
Alex / KATT ๐Ÿฑ retweeted
hit two big numbers on create-t3-app within minutes of each other - 15k stars - 200 human contributors thanks to everyone who has been a part of this until now :)
3
5
115
24,124
Alex / KATT ๐Ÿฑ retweeted
ChatGPT summarised @trpcio in a luddite-friendly way, even I understood it ๐Ÿ˜„
2
1
8
1,789
Alex / KATT ๐Ÿฑ retweeted
#Speaker announcement Happy to announce @alexdotjs creator of @trpcio coming to present to us how to use trpc and move fast without break nothing! #graphql
4
11
1,851
Alex / KATT ๐Ÿฑ retweeted
Today's the day. Total TypeScript is ready.
61
173
1,700
365,005
๐Ÿƒ๐Ÿผ to get that last โœ…
This started as a shitpost and went way too far. Don't read into this, just trying to document some things I think about too much. I rant more in the thread
16
6
122
53,536
be like joel when someone selflessly helps you
2
2
62
36,510
also, a shoutout to mr pizza
Epic work! Dont need to Base64 audio files ๐Ÿ’– Sent some ๐Ÿ• ๐Ÿ’ฐ
1
9
3,085