MalekM
tRPC9mo ago
2 replies
Malek

gets a massive dataset

hello there,

i'm working with trpc integrated in my project nextjs and i've imports the endpoint route into the pages but some endpoint i created have to get a massive and huge data response, when i mount the route in the page its get a long time :feelsadman: to load the data yeah take a while

one of the example is:
const { data: chartData2, isLoading: isLoadingChart } = trpc.backoffice.malekDash.getInvoiceChartData.useQuery()

and the
Was this page helpful?