HACKER Q&A
📣 Vishal19111999

NestJs vs. NextJs?


I'm building my SaaS application, currently in react Supabase.

My target is to keep the codebase small yet error free.

I'm proficient with NestJs and find it safe, should I use it or shift to NextJs or something else which is new ?


  👤 dav1app Accepted Answer ✓
They do different things.

NextJS is a nice tool. Every small software that I create, I pick NextJS at first.

There is one small caveat: APIs on NextJS are edge runners. You cannot keep state by just sending data outside the API handlers.