Building a commenting system

In this chapter, we've created our main project components, a reusable editor component, and within the previous topic, we've created and integrated a user area component. Within this topic, we're going to create a commenting system that enables users to write comments on projects. The commenting system will use our editor component to make existing comments editable. We're also using our user feature and the profile picture component to visualize user comments. Based on the authoring user of comments, we will decide if existing comments are editable for the logged in user:

An illustration of the component subtree ...

Get Mastering Angular Components now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.