Add Optimistic UI Support

We have comments functionality in our blog app. When we are adding a comment, it looks like:

As you can see, there's a loading indicator in the button while adding the comment.

But have a look at this:

Here, there's no such wait time. We can immediately view the comment. But still, there's an indicator which shows that this comment is still not saved.

šŸ’” This functionality is known as Optimistic UI. We are going to implement that in this lesson.

šŸ™ We need your help

We need your help to keep maintain & add new content to this course. Here's how you can support us: