Ask HN: NestJs vs. NextJs?

1 points by Vishal19111999 ↗ HN
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 ?

1 comment

[ 2.8 ms ] story [ 14.7 ms ] thread
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.