Updating a Comment
Follow step-by-step instructions to implement the UI for updating comments under a post.
We'll cover the following...
The deletion of a comment in our React application is now possible. Let’s move on to adding the feature for modifying comments.
Updating a comment will be similar to what was done in the UpdatePost.jsx
file. To achieve this functionality, we will have to create a modal.