Listing the Comments

Follow step-by-step instructions to implement the UI for listing comments under a post.

We'll cover the following

We can create comments, but we can’t see them. In src/components/comments, we’ll create a new file called Comment.jsx. This will contain the code for the Comment component that will be used to show details about a comment. Here’s a wireframe of the Comment component:

Get hands-on with 1200+ tech skills courses.