Blankeos
Explore posts from serversTTCTheo's Typesafe Cult
•Created by Blankeos on 11/14/2023 in #questions
Copilot account question
Hey y'all ! Anyone using copilot? Planning to buy one for my Work Account. (personal expense)
But I don't wanna buy another subscription for my personal account. Since I pay for it, is there way I can share them?
Or at least, maybe use the same Work Account on my PC, then change to my personal account when I have to make commits and hopefully not worry about my company finding out I'm using my Work account outside of work.
More or less my company's probably okay with it but I just don't wanna leave any unnecessary footprint (If copilot does any).
7 replies
TTCTheo's Typesafe Cult
•Created by Blankeos on 6/22/2023 in #questions
Is there a way to use the trpc client inside a useEffect? Or a separate "service".
I've been using trpc for quite a while now. I have a pretty simple data flow that seems overly complicated to implement in trpc.
In my website, when you go to
"mywebsite.com/local"
I want to fetch from local storage,
but when you got to mywebsite.com/<anythingelse>
I want to fetch from a trpc API.
I don't feel too comfortable just using tanstack react query on everything inside a monolithic react component. Or is it something I should be more comfortable about. I'm also thinking of using the vanilla trpc client.18 replies