Dynamic routing is important for keeping your routes up to date even when data changes. They are ideal for larger scale applications.
Next.js is a javascript framework that implements server-side rendering in JS/React apps.
Next.js’s serving of static files improves efficiency within your application and decreases load times. Not great for content that is dependant on user input.
Dynamic Routes are used to implement routing between pages without knowing the data ahead of time. They’re different from static routes which are manually configured, while dynamic routes are created and updated manually.
The steps to deploy a next.js application are: create the application using NPX npx create-next-app@latest, push to github remote repo, deploy on vercel. Some of the popular deployment platforms are Vercel, Netlify, AWS and Heroku.
Next.js serves static files in the public directory in your root directory. You can reference them in your code by using the /filename format. Next.js does this to increase performance and improve load time of the static files in your application.