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...
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 🍻🤑
this is the function that transforms the iterable github.com/trpc/trpc/bl...
Dangit 🥲
I like that! We pushed for typed errors here but seemed out of scope :/ github.com/trpc/trpc/pu...
not sure as it's currently `Schema.decode(mySchema)` and not `mySchema.parse` - so you need to import the effect dependency to decode a schema unlike zod where the parse method is attached to the schema itself
We do custom parsing for them github.com/pingdotgg/up...
Nope
Preventing route interception
Nah I gave up on that. This is to prevent intercepting route from rendering where it shouldn’t
Don't ask why I need this
Its an initiative by Valibot, Zoe and Arktype - I don’t know of any other alt.
Up until now every schema library has used their own type structure so when another library wanna build on top (e.g trpc) it’d need to add inference helpers for every interface they want to support. This streamlines that
🫠
Anyone got Next.js intercepting/parallel routes work with exit animations? Rendering a modal and going back dismisses the modal without the animation
1 interface for libraries to implement that allows the user to use any schema library they want.
uv and ruff makes python not suck 🐍
Yea sometimes they’re nice, especially if they can leverage the browsers “object expander” ( not sure if they do that today). I just want to be able to disable it when debugging client side stuff
They are labeled, don’t think you can filter them away though.
Hmm..
I don’t quite like that they hijack it like that, especially when debugging something client side and you get all the server noise mixed in
Can you disable the new thing where @nextjs.org (or React, not sure which it id) logging server logs in the browser during dev?
Nice! Ticks all the boxes. Works on mobile, can select version and link specific lines of code socket.dev/npm/package/...
Too much noise for simple lookups + doesn’t work on mobile
Tempted to make a tiny browser extension that takes you to that other page when pressing . on npmjs.com/PKG
Sometimes need something faster just to verify something. Sometimes even on the phone
👀👀
Yea that’s great but doesn’t show the distributed files
Is there a better code browser for a distributed npm package? npmjs.com 's code tab really sucks
Cheers 🍻
Let us know what you think!
how would you do when testing client stuff with a server? so like starting a server in node env and then running client tests using vitest browser mode.
Socket disconnected