Easy Comments Area for the Single page – using Next.js

Easy Comments Area for the Single page – using Next.js

Now that we’ve got our basic single component (named [slug].js), which displays a single post, let’s look at how easy it is to add the comments area. First, let’s build 2 components: 1) CommentList.js and 2) CommentForm.js. In Next.js, when creating components that doesn’t use a route – we place them in the “components” directory. […]