Joined October 2011
BanJoeH retweeted
bun -e 'import {$} from "bun"; await $`bun --help`'
1
1
3
429
I've completed Day Twenty Two - Advent of TypeScript 2023 typehero.dev/challenge/day-2… #AdventOfTypescript Tests were passing with just checking rows for validity so called it there. Didn't fancy spending another 3 hours on it like yesterday 😅. Solution in follow up
1
5
195
4
37
I've completed Day Twenty One - Advent of TypeScript 2023 typehero.dev/challenge/day-2… #AdventOfTypescript Wow that was rough. Another one where I'm not willing to touch the code anymore.
1
5
188
I've completed Day Twenty - Advent of TypeScript 2023 typehero.dev/challenge/day-2… #AdventOfTypescript Possibly the ugliest code, but at this point I'm just happy they're still getting done
1
5
135
I've completed Day Nineteen - Advent of TypeScript 2023 typehero.dev/challenge/day-1… #AdventOfTypescript It wasn't pretty but got there in the end, solution in followup tweet
1
4
121
1
3
45
I've completed Day Fourteen - Advent of TypeScript 2023 typehero.dev/challenge/day-1… #AdventOfTypescript So glad it was easier than yesterday, i for sure wouldn't have been able to finish if it was similarly harder than the previous day
3
51
BanJoeH retweeted
📢 Bonus for day 12 of #AdventOfTypescript 1⃣ No recursion, using the fact that Tuples are actually Objects 2⃣ Remapping Objects is essentially a 'For' loop 3⃣ Simpler solution coming later Credits : @BanJoeH and @mattpocockuk
4
2
2
20
1,707
Why are we calling islands "islands" when they are being hydrated? shouldn't we call them "oasis" and the rest of the web page as "desert"?
1
6
1
25
4,397
Bringing database and backend work into a single TypeScript file is just as beneficial as developing a full-stack application in one language Some thoughts on that 🧵
2
14
5
144
52,134
Have you ever heard of adding a "redundant condition" to your query? A condition that doesn't change the results at all? It seems like that would be totally useless, but it can actually be a trick to unlock your indexes!  planetscale.com/blog/redunda…
8
2
45
16,333
BanJoeH retweeted
A lot of requests we receive about @DrizzleOrm are related to the "convenience" APIs - stuff that is present in a lot of popular ORMs and that, for a lot of people, differentiates "ORMs" from "query builders". Let me share our vision of it and a bit of Drizzle history.
3
12
10
120
52,532
I'm trying to create a custom useQuery hook that allows for consumers to add their own options, omitting a couple. Here's a TS playground of the error I'm having typescriptlang.org/play?#cod… any ideas? @tan_stack
1
67
Hi @MiroHQ I'm trying to log into my account and I get an infinite loading screen and errors in the console
65
How i can get correct data typing from @tan_stack query (v3 😬) that returns either an array or a single item from that array based on an optional arg? or is it better to separate it into its own hook? cc @TkDodo ts-playground: shorturl.at/mFJ29
1
1
🤦that short url doesnt seem to work for me: typescriptlang.org/play?#cod…
1
1