edgaras
edgaras
Explore posts from servers
TTCTheo's Typesafe Cult
Created by edgaras on 1/11/2024 in #questions
Pre-rendered page + dynamic content
I have a list of pre-rendered (at build time) public articles. But then I want to check if there is an active user session, load additional draft articles and add them to the same article list. Is it possible to do this server-side without relying on useEffect or React Query? Can I somehow use a Suspense on a data loading hook?
3 replies
TTCTheo's Typesafe Cult
Created by edgaras on 8/8/2023 in #questions
Does API function timeout if it’s triggered by multiple cron jobs?
I need to send a newsletter to 20k subscribers. Resend doesn’t yet support bulk email sending, so I want to build my own using Resend, Vercel Cron and Next.js API route. I am not certain though, will a serverless function timeout if I keep triggering it via cron every second for like half an hour?
37 replies