Listing Posts on the Home Page

Follow step-by-step instructions to implement the UI for listing and deleting posts.

Now that users can create posts, we need to list the posts on the home page but also allow the user to access them. This will require the creation of a component to display information about a post. As shown in the figure below, under the "Write a post" input, we have a list of posts. The home page structure is already added, so we need to add a component that will handle the logic behind showing information about a post.

Get hands-on with 1400+ tech skills courses.