Malek
Malek
TtRPC
Created by Malek on 5/15/2025 in #❓-help
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()
const { data: chartData2, isLoading: isLoadingChart } = trpc.backoffice.malekDash.getInvoiceChartData.useQuery()
and the
3 replies