DEV Community

Agam
Agam

Posted on

Can Nextjs Replace Traditional Web Frameworks?

I was wondering for my next project if I can use nextjs independently.
Not just for SSR/SSG capabilities, but also for handling what was traditionally done by web-
frameworks like express / laravel / django etc...
Meaning using the API routes of nextjs.

Is there any gap that I'm missing? what can't it do and they can? is it considered a bad practice?

Top comments (1)

Collapse
 
chromygabor profile image
Gabor Chromy

I don't think it's a bad practice. I use it only experimental yet, but I don't see any cons to not to use it.
I think it's more about a question about frameworks. This framework is simply a Convention over Configuration framework which helps us to start very quickly, with zero config on a react based frontend.
Of course you can do the same with a configured bare project, but why would you do that? Do you want to configure a project over hours to reach the same result? I don't think so.
And of course there are functions which also helps you to evolve quickly.