Next.js

A framework based on node and React

next.js is a framework for building webapps based on:

The main website for next.js is here: https://nextjs.org/

For clarification:

The language being written in is javascript, in both cases.

When people say they’re writing “in React”, they really mean they’re writing in javascript using React.

Troubleshooting strategies

Sometimes, you may need to “regenerate” the files that are automatically created by the next.js ecosystem.

There isn’t a universal npm clean built into the npm ecosystem (similar to a make clean).

But, if you need to do something like a make clean or a mvn clean, the equivalent would be something like this:

rm -rf .next node_modules

After doing this, you’ll need to do the following to regenerate these files:

npm install
npm run dev

Related topics: