I hope people don't have the same attitude if I fuck up my work that people use for free π
I hope people don't have the same attitude if I fuck up my work that people use for free π
to defend the react team a bit: we're not immune to security vulnerabilites either fwiw. Shit happens.
mastering inference and (ab)using `ReturnType<>` makes it more fun
Not been active on the socials this year and not much in OSS either! Been a burnt out / not had "the itch" to do much. Nice to see your face too!
Did these 2 for fun a while back, idk why @joshuakgoldberg.com just liked these tweets (hi π) but might be a moment to share
- github.com/katt/danson
- github.com/katt/devalue...
I've used temporal for a few years and it is better but still very clunky to work with
Introducing tsl, an extension of tsc for type-aware linting!
Want to speed up your ESLint time without losing the great type-aware rules from @typescript-eslint.io?
Run `bunx tsl --migrate` to try it out!
github.com/ArnaudBarre/...
I'd bet this is due to vibe coding platforms that have exploded in use and in large default to React
I haven't tried, but awesome that it works! I was pretty sure it didn't
`trpc.x.y.useQuery()` is an invalid hook name (which didn't matter much before) so that rules it out for anyone using `@trpc/react-query` π
We have a new pkg that does work with it though
if you
like my naive implementation on that PR,
plan on using it, &
are keen on helping out
i might do a `npx create-typescript-app` this week, i have an itch to hack on something new and small (even if i won't immediately use it myself)
kinda sounds like we should make it into a library
devalue has nice and compact approach on how to serialize arbitrary objects; I did a proof of concept on how one could use it to handle async objects with it a while back
github.com/Rich-Harris/...
Thanks for the article, it's great! We've done something not too dissimilar in trpc for our streaming
I'd love a "Progressive JSON v2"-article with
- How you handle non-json data types (BigInt, Date, etc) & custom ones
- How the the format handles if someone had e.g. literal "$1" as a post title
ParabΓ©ns senhor
there are 1,100 words in this article and zero of them are "bus"
We know it's long overdue, but today we're thrilled to officially announce the general release of tRPC v11!
π Read the announcement:
trpc.io/blog/announc...
We just released our new TanStack Query adapter for @trpc.io powered by the `queryOptions` API. Codemod available (still a bit of a WIP but works quite well) for simple migration.
Let us know what you think!
trpc.io/blog/introdu...
We just released our new TanStack Query adapter for @trpc.io powered by the `queryOptions` API. Codemod available (still a bit of a WIP but works quite well) for simple migration.
Let us know what you think!
trpc.io/blog/introdu...
@trpc.io now offers an integration built on top of queryOptions. I'm pretty hyped about this π
wish i was there! is there a recording?
We're about to release a new @trpc.io x @tanstack.com package and are working on a codemod - anyone good at wrangling these things and wants to help out?
We can offer beer-money in return π»π€
i'd be at least 2x as excited to join a company that was part of @opensourcepledge.com
Been an amazing week
it is, but typescript supports it π
is there markdown support yet
```ts
console.log('hello')
```
I'm slowly phasing out beforeEach/All
Should write something about it
```
await using server = startServer({...})
```
Replaces beforeEach and allows for nice cleanup
You should look at explicit resource management, you'll love it for this
tjena! π