concept user in category nextjs

appears as: user, users, The user, users, user
Next.js in Action

This is an excerpt from Manning's book Next.js in Action.

Static websites that predate the modern web were comprised mainly of HTML files and other resources that formed parts of those pages, like images and stylesheets. The browser would request a URL and the server would return content that was ready to display. Today, much of the content that we see on the web is generated dynamically. For example, React applications are made up of components that are implemented via JavaScript. Before any content can be displayed, a bunch of JavaScript needs to run. Often, data needs to be fetched from an API endpoint before any content is visible to the user. While we can do a lot more with modern technology, it comes at a cost. Static content that comes from the server, ready to display, means less wait time for the user and an overall better experience.

The create-next-app tool is inspired by the create-react-app tool. Instead of manually installing React and other build-related tools manually, we let create-react-app do this for us at the beginning of the project. The same idea is shared by create-next-app: install dependencies, tools, and scaffolding code to help users hit the ground running. Let’s give create-next-app a test drive now.