Repository navigation
Replies: 4 comments 1 reply
|
Hi, were you able to find a solution for this? |
0 replies
|
also wondering about this! |
0 replies
|
I'm also wondering if there's a better solution now. |
0 replies
|
|
1 reply
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
bigints asstring, and then usingBigInt(value)in components. But this isn't great. I'd really love to serializebigintvalues and dehydrate my SSR components with that datatype directly.Are there any examples of how to do this?
All reactions