NodeJs's Next.js is needed to do SSR (Server Side Rendering) of the web paged and get static paths or to pre-render static site pages so that webpages can have pre-rendered version of pages with Meta informations so that search engine crawlers can crawl and index content from web pages. basically Next.js is the production framework for React.js