Trongar
Trongar
TtRPC
Created by Trongar on 9/20/2023 in #❓-help
Optimizing Data Refresh with trpc in React/Nextjs? Is there a more efficient way?
i want to make somthing like
const {addTask, deleteTask, setStatus} = trpcClient.tasks.(...).useMutation({
onSettled: () => {
getTasks.refetch();
},
});
const {addTask, deleteTask, setStatus} = trpcClient.tasks.(...).useMutation({
onSettled: () => {
getTasks.refetch();
},
});
5 replies
TtRPC
Created by Trongar on 9/20/2023 in #❓-help
Optimizing Data Refresh with trpc in React/Nextjs? Is there a more efficient way?
but how could it be, i don´t get it
5 replies