👋 I'm Alex & I tweet about web dev stuff Creator of @trpcio, work @square, scout @a16z

Malmö, Sweden
Alex / KATT 🐱 retweeted
So with @kenwheeler permission I am going to destroy and unpack this amount of words that don't quite make sense in the order they are said
This might be the dumbest this stuff has ever been explained lol
3
8
98
86,632
Alex / KATT 🐱 retweeted
I actually landed my first job in web dev because of tRPC, I am a junior and don’t know most things out there and I’m not a TypeScript expert either, I just did what I can do, most of my contributions came in the form of the documentation website, where I designed and coded a big part of it and the benefits reeked in. I was talking about tRPC at an @LNUGorg meetup and @NckLcs was there, who also joined in on tRPC contributions and now became my boss at work. It’s kind of like a butterfly effect but it all started from this:
3
2
30
4,678
Imagine if every engineering team had a $1000/month budget for supporting OSS
We now support businesses @polar_sh - Sync your GitHub team - Set a monthly budget - Set team member limits Enable your engineers to easily fund open source efforts. Increase your own velocity & fund open source. Win-win. Just set our own team allowance: $200/month/engineer
5
3
93
19,384
$1000 should also be considered very low considering the value OSS brings
2
1
22
2,050
Alex / KATT 🐱 retweeted
If you are using VS Code to write TypeScript and get annoyed by cmd+click teleporting you to a type definition instead of the implementation: Settings UI: "Prefer Go To Source Definition" or settings.json: "typescript.preferGoToSourceDefinition": true You are welcome 😌
23
101
993
78,708
Alex / KATT 🐱 retweeted
We now support businesses @polar_sh - Sync your GitHub team - Set a monthly budget - Set team member limits Enable your engineers to easily fund open source efforts. Increase your own velocity & fund open source. Win-win. Just set our own team allowance: $200/month/engineer
3
10
57
24,353
ok i will most certainly take time out of my day to respond to your DM 😂
3
41
5,463
🙋‍♂️ I need linter config help I want to use `react/no-unstable-nested-components`, and allow render props but not when the prop expects a component There is a `customValidators`-attribute in the lint rule but I don't understand how to use it
4
1
7
2,839
(Basically, if it's the prop starts with an uppercase, it's okay but otherwise, it's not?) - Code: tsplay.dev/mLALaW - Docs: github.com/jsx-eslint/eslint…
2
1
745
Random Q - anyone knows a decent coworking space in San Juan, PR 🇵🇷? I need something tomorrow and Tuesday before going back to 🇪🇺
4
7
4,325
TIL it's spelled "referrer" and not "referer"
7
45
7,300
> The misspelling of referrer was introduced in the original proposal by computer scientist Phillip Hallam-Baker to incorporate the "Referer" header field into the HTTP specification. The misspelling was set in stone by the time (May 1996) [...] en.wikipedia.org/wiki/HTTP_r…
1
12
1,095
I guess that can happen when so much of my English knowledge comes from coding 😅
5
1,010
Alex / KATT 🐱 retweeted
Omit and Pick don't always work how you expect. A small thread.
18
97
980
205,298
Sooo `useFormState()` makes it so that the server action gets an argument prepended. Anyone knows how come it instead isn't appended / why actions don't receive an options object instead? There's a troubleshooting section, but I'm missing the why react.dev/reference/react-do…
5
37
9,947
Me at 19
Me at 19
5
1
137
142,431
I think I've seen somewhere that it's possible to import specific tags when importing modules in the typescript playground? e.g. can I import "mylib@canary" to get the canary tagged npm module?
3
3
4,135
maybe i was dreaming or maybe @mattpocockuk knows the answer?
1
3
1,336