Advertisement · 728 × 90

Posts by Julius

Preview
Introducing the new TanStack React Query integration | tRPC We are excited to announce the new TanStack React Query integration for tRPC is now available on tRPC's next-release. Compared to our classic React Query Integration it's simpler and more TanStack Que...

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...

1 year ago 56 6 6 0

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 🍻🤑

1 year ago 12 3 0 1

this is the function that transforms the iterable github.com/trpc/trpc/bl...

1 year ago 3 0 1 0

Dangit 🥲

1 year ago 1 0 0 0
Preview
feat(server): add Standard Schema support by fabian-hiller · Pull Request #6079 · trpc/trpc 🎯 Changes An union of schema library authors (Zod, Valibot, ArkType, ...) collaborating on a standard interface for schema libraries called Standard Schema. This simplifies implementation and preve...

I like that! We pushed for typed errors here but seemed out of scope :/ github.com/trpc/trpc/pu...

1 year ago 3 0 0 0

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

1 year ago 3 0 0 0

We do custom parsing for them github.com/pingdotgg/up...

1 year ago 3 0 1 0

Nope

1 year ago 2 0 1 0

Preventing route interception

1 year ago 1 0 0 0

Nah I gave up on that. This is to prevent intercepting route from rendering where it shouldn’t

1 year ago 1 0 0 0
Advertisement
Post image

Don't ask why I need this

1 year ago 11 0 6 0

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

1 year ago 13 0 1 0
Post image

🫠

1 year ago 3 0 1 0

Anyone got Next.js intercepting/parallel routes work with exit animations? Rendering a modal and going back dismisses the modal without the animation

1 year ago 3 0 1 0

1 interface for libraries to implement that allows the user to use any schema library they want.

1 year ago 4 0 1 0

uv and ruff makes python not suck 🐍

1 year ago 8 0 0 0

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.

1 year ago 0 0 1 0

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

1 year ago 2 0 1 0

Can you disable the new thing where @nextjs.org (or React, not sure which it id) logging server logs in the browser during dev?

1 year ago 3 0 2 0
Advertisement

Nice! Ticks all the boxes. Works on mobile, can select version and link specific lines of code socket.dev/npm/package/...

1 year ago 1 1 0 0

Too much noise for simple lookups + doesn’t work on mobile

1 year ago 1 0 0 0

Tempted to make a tiny browser extension that takes you to that other page when pressing . on npmjs.com/PKG

1 year ago 0 0 1 0

Sometimes need something faster just to verify something. Sometimes even on the phone

1 year ago 1 0 0 0

👀👀

1 year ago 0 0 0 0

Yea that’s great but doesn’t show the distributed files

1 year ago 0 0 0 0

Is there a better code browser for a distributed npm package? npmjs.com 's code tab really sucks

1 year ago 9 0 5 0

Cheers 🍻

1 year ago 2 0 0 0
Advertisement

Let us know what you think!

1 year ago 8 2 0 0

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.

1 year ago 1 0 1 0

Socket disconnected

1 year ago 1 0 0 0