Components

Components are a big part of React, and so far, we have yet not used any components in the traditional sense within our Next.js app. I will explain how and why we can implement the components you are used to using with React.

Making traditional components

When you created your pages, you created components. Because of how the Next Router works, you did not have to specify which component(s) would be needed for each page. This is something you are probably used to when creating pages with a React app. You can view your page components as a parent component. This is because if you want, you can import child components into your ...