I am looking into React framework Next.js to see if it is best match as SPA for my next application where ASP.NET Core will be backend. I have used create-react-app
in the past so wanted to compare Next.js
with it. Our aim is not Server Side Rendering(SSR)
. Our project will be admin kind of project and SEO does not really matter. We will need performance for sure. We cannot use Static Generation as well as we need to load latest data for every page. We will need redux too.
The main benefits I read about Next.js are:
- SSR
- File Routing
- Full stack Dev - can use backend(Node.JS) with it
From these mentioned feature, File Routing will only be useful for us I believe as we don't need other features for our project. Further more, I cannot see any component life cycle events. Can we still use it with Next.js?
Can anyone please highlight other benefits of using Next.js? And is it worth to use Next.js
over create-react-app
?