Malek
Malek3w ago

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
1 Reply
Malek
MalekOP3w ago
using an external postgresql in our coolify self-hosted

Did you find this page helpful?