Challenges

Add Comments Support

Finally

Awesome Work. šŸŽ‰

Now we understand how to accept user-generated data and render them. Interestingly, we render these user-generated comments inside a static web page. (Generated with Next.js static regeneration)

In our case, comments are still public. So, we can render them using static regeneration. If we do that, it's possible to miss some of the recently added comments because these static pages can be cached.

šŸ’” That's why we fetch & render these comments inside the client-side.

šŸ™ We need your help

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