Nacho
Explore posts from serversTTCTheo's Typesafe Cult
•Created by Nacho on 3/10/2023 in #questions
Zod naming convention
yeah that's pretty much what I'm doing, I was capitalizing both at first but thought it might lead to confusion
12 replies
TTCTheo's Typesafe Cult
•Created by Nacho on 3/10/2023 in #questions
Zod naming convention
hmm so you use different names?
12 replies
TTCTheo's Typesafe Cult
•Created by Nacho on 2/14/2023 in #questions
Using create-t3-app for a websocket heavy app / proxying api requests
Wow, a response from the man himself, awesome!
- The proxy issue has been fixed, turns out my team lead added something to the api that only allows request from the :9000 port, he neglected to tell me and I was running on port :3000. Wasted a good bit of time on that one.
- I did see the custom logger option for tanstack, but as it said it would be deprecated it seemed less interesting.
- So in our case, you subscribe to tickers, put in orders etc through the one websocket. So for instance a ticker is something that would need to be in the global state. Is that something you would handle with tanstack query, or more something like Zustand. As you called it a state machine I seem to remember from one of your videos that you prefer Zustand for stuff like that.
6 replies