t
tRPC
L
tRPC
•
2y ago
•
1 reply
luke
Clarification on inconsistency between React Query + tRPC docs with serialization
Hey everyone
, I have a quick question
. I have been exploring using different serialization methods
+ learning more about tRPC
/ React Query as a whole
.
In my deep dive on the React Query docs
, specifically on the Server Rendering
& Hydration Serialization section
, they mention that superjson is unsafe to use on the server
, and recommend using devalue instead
. See here
, last paragraph
:
https://tanstack.com/query/latest/docs/framework/react/guides/ssr#serialization
But then
, in the tRPC docs
, it actually says the opposite
, almost verbatim
:
https://trpc.io/docs/server/data-transformers#different-transformers-for-upload-and-download
Can anyone clarify for me here
?
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
trpc subscription with react-query
K
kamama / ❓-help
3y ago
Using tRPC (createCallerFactory) with react-query.
L
lunacrafts / ❓-help
2y ago
tRPC + react query subscriptions
F
fynn / ❓-help
2mo ago
trpc/react-query batching
K
Kimblis / ❓-help
3y ago