Rich
Rich
AAlokai
Created by August on 7/1/2024 in #🙋|general-help
Vuestorefront and Odoo
Hi @Diogo Duarte oh that's looking very nice indeed. A catch up call would be great, I'll pop you an email over the coming days
16 replies
AAlokai
Created by August on 7/1/2024 in #🙋|general-help
Vuestorefront and Odoo
For a small store it would be fine I'm sure, but for large, high order/transaction volume stores decoupling front and backend is essential
16 replies
AAlokai
Created by August on 7/1/2024 in #🙋|general-help
Vuestorefront and Odoo
Haven't looked at any other solutions tbh @August , I really like vsf and what the open source community has done to achieve integration between both systems. The flexibility is endless which I'm not sure will be replicable with other solutions
16 replies
AAlokai
Created by August on 7/1/2024 in #🙋|general-help
Vuestorefront and Odoo
Hey @August , specifically for integrating with Odoo ?
16 replies
AAlokai
Created by August on 7/1/2024 in #🙋|general-help
Vuestorefront and Odoo
Tbh the Odoo integration is a little all over the place, e.g. VSF/Alokai SDK development has far outpaced the open source integrations so it's still on version 2 it seems
16 replies
AAlokai
Created by August on 7/1/2024 in #🙋|general-help
Vuestorefront and Odoo
Hey @August , I got it up and running over the weekend weirdly enough as I'm looking to roll a new integration/implementation out
16 replies
TTCTheo's Typesafe Cult
Created by aditya on 12/2/2023 in #questions
tRPC not invalidating queries called on RSC
Ah I got it working in the end import { api } from "@/trpc/react"; And in the create form modal:
const utils = api.useUtils();
const invalidateQueries = () => utils.invalidate(queryKey);

const createFocusList = api.focusList.addFocusList.useMutation({
onSettled: invalidateQueries,
});
const utils = api.useUtils();
const invalidateQueries = () => utils.invalidate(queryKey);

const createFocusList = api.focusList.addFocusList.useMutation({
onSettled: invalidateQueries,
});
queryKey is constructed dynamically in the parent component and passed to this component via a prop
10 replies
TTCTheo's Typesafe Cult
Created by aditya on 12/2/2023 in #questions
tRPC not invalidating queries called on RSC
How did you get this working? I'm using t3 stack but don't seem to have utils :/
10 replies
TTCTheo's Typesafe Cult
Created by Rich on 12/22/2023 in #questions
Server Side Rendering & TRPC Router / Client Code
Came back to this and realised the error of my ways, must have been half asleep at the time 😄 So I'm using the trpc server api in page.tsx to preload the data required for initial render and passing this to a prop of a subcomponent, and in the Component using the trpc client api useQuery with initialData set to the prop value
3 replies