rocawear
rocawear
Explore posts from servers
TtRPC
Created by rocawear on 1/7/2023 in #❓-help
tRPC sockets with react
Trying to make my React app work with socket with minimal server but getting error: "Uncaught TypeError: Cannot destructure property 'client' of 'useContext(...)' as it is null." at Object.useSubscription (createHooksInternal-9c1f8ad9.mjs:363:17) at createHooksInternal-9c1f8ad9.mjs:57:29 Current code on comments!
12 replies
TtRPC
Created by rocawear on 11/29/2022 in #❓-help
trpc with headless cms
Hello, Is there any example with trpc and headless CMS or is there anypoint to use trpc for project that gets data from external source? For example existing api / headless CMS. And what would be the advantage over using for example react query and creating and getting data from api endpoint instead
2 replies