Replies: 2 comments
-
Hi, were you able to find a solution for this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
also wondering about this! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Reading the docs here: https://tanstack.com/query/latest/docs/framework/react/guides/ssr#serialization
The docs go on to say there are other packages that could be useful for this.
However, I have yet to find any examples of how to accomplish this.
The best solution I've found up until this point is keeping
bigint
s asstring
, and then usingBigInt(value)
in components. But this isn't great. I'd really love to serializebigint
values and dehydrate my SSR components with that datatype directly.Are there any examples of how to do this?
Beta Was this translation helpful? Give feedback.
All reactions