Overview: Post Comments
Get an overview of the topics covered in this chapter.
We'll cover the following
An exciting part of every social media platform is the comment functionality. In the previous chapter, we added post creation, listing, update, and deletion functionality. This chapter will cover a comment’s creation, listing, update, and deletion. We will create a page to display information about a post, add components to list comments, add a modal to display a form to create comments, and add a drop-down to allow the user to delete or modify a comment. By the end of this chapter, we will learn how to navigate to a single page with URL parameters using React and React Router.
Topics covered in this chapter
In this chapter, we will cover the following topics:
Listing comments on a post page.
Creating a comment using a form.
Editing and deleting a comment.
Updating a comment.
Get hands-on with 1200+ tech skills courses.