Re:Next.js 12
by maccaw on Tuesday October 26, 2021 @01:35PM
(#29003421)
I think because the answer here is using Next.js with hosted backend solutions like Firebase, Supabase, Pusher, etc.
[ Parent
| on HN ]
The reason I love Next.js + Vercel though is because I don't need anything else for the frontend (besides a CMS maybe).
If I have to use:
1) Pusher for realtime
2) Supabase for DB
3) Temporal for workflows
4) Vercel / Netlify, etc. for functions / cron jobs
My backend becomes primarily a bunch of stuff glued together, rather than something cohesive like Next.js
And you end up with tons a network calls and services to monitore, logs, manage and pay.
I'd do the exact opposite by default, trying to have the most cohesive service, and occasionnaly use some external APIs when I can't do the stuff by myself (eg. Stripe)