• Next.js is a framework for React, React is a Javascript library

Notes

  • use clsx to conditional formatting

Fonts

Next.js downloads font files at build time and hosts them with your other static assets. This means when a user visits your application, there are no additional network requests for fonts which would impact performance.

In Next.js, you can use a special layout.tsx file to create UI that is shared between multiple pages.