tRPCttRPC
Powered by
ThomasT
tRPC•3y ago•
6 replies
Thomas

Adding tRPC HOC breaks zustand

It seems that adding the trpc hoc breaks my zustand stores initial values and generates bad data.
After installing trpc following an install guide, I realized that now my zustand items don't take their initial values anymore. I am not sure why it is due. Happens both with SSR and non SSR setting.
My error is the following : (please see the image)

I am using yarn to install packages and running latest Nextjs/React.
image.png
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Zustand + trpc
Answer OverflowAAnswer Overflow / ❓-help
10mo ago
zustand + trpc (basic data fetching)
SonSSon / ❓-help
4y ago
trpc version 11.0.0-rc.383 breaks turbo
shikishikichangchangSshikishikichangchang / ❓-help
16mo ago