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

MalmΓΆ, Sweden
The @1Password-plugin has gotten insanely annoying with interpreting *almost everything* as something that should be autocompleted by 1Password --- and there's no way of opting out πŸ€ͺ
3
11
Alex / KATT 🐱 retweeted
Just released trpc-swr, a @trpcio wrapper for SWR (swr.vercel.app/)! It works great with SSR and suspense (i'll show a deno with this soon). If you're interested, please try it and let me know if there's anything I can improve. github.com/sachinraja/trpc-s…
1
4
20
Best I could do for now. Doesn't handle `.optional()` [yet] typescriptlang.org/play?#cod…
1
cc @colinhacks :) I did some exploration in that discussion. Happy to submit a PR to zod if a nice pattern reveals itself.
1
4
Is there a way to properly coerce/preprocess a zod type to another zod type while maintaining having `_input`/`_output` correctly + being able to use the target zod type's helpers like `.min()`/`.max()`? github.com/colinhacks/zod/di…
1
6
Alex / KATT 🐱 retweeted
we built most of this in around a month thanks to some great tools: react-query from @tan_stack @stitchesjs @radix_ui @trpcio
πŸ‘‹ As we count down to SST 1.0 Conf, we wanted to highlight the SST Console. It's a web based dashboard that helps you manage your SST apps. You can view logs, query databases, manage users, test APIs, manage your files, etc. Read more about it here: docs.serverless-stack.com/co…
2
4
38
For my next Svelte (SvelteKit) course I want it to be project based. Starting off fairly simple but eventually building a Fullstack, scalable application using a modern stack. @prisma tRPC (Created by @alexdotjs) @planetscaledata
3
2
28
Is there a way to get "go to definition" to work with a string literal or would it be possible to make a VSCode plugin that did it? I really want to cmd+click the 'foo' below and jump to where it's defined typescriptlang.org/play?ts=4…
2
1
6
The lack of "soundness" in the @typescript typesystem is a feature, not a bug
2
2
24
Whadup, trpc is apparently on the frontpage of @hackernews right now?? Mad.
4
4
71
Heavy tRPC users πŸ₯³
πŸ₯³ The cat is out of the bag! We are doing the first-ever SST conference. SST 1.0 Conf is a virtual event celebrating our v1 launch. It's on May 17th @ 9am PDT. We've got a great lineup, including folks from Comcast, The LEGO Group, & Shell. Read on πŸ”½ v1conf.sst.dev
1
10
Thanks, @flylanceinc for starting to sponsor tRPC with $50/month! πŸ™πŸ™ If you feel inspired, smash the "❀️ Sponsor"-button on the repo! github.com/trpc/trpc
2
4
25
I'll be posting a series of these over the next few weeks, follow me at @alexdotjs πŸ™ƒ
4
12
One of my favorite little ts utils ``` export type Maybe<T> = T | undefined | null; ```
17
33
550
What's the best chart library in 2022? Not looking for something as raw as D3, but something somewhat customizable that looks great. Using React, but it doesn't have to be React-centric.
11
2
17