Making MessageList a slot based Component
In this lesson, we will be making MessageList a slot based component.
Slots are the way to make content distribution happen in the web components world. They make the structure of the components much more flexible, moving the responsibility of managing the state to the parent component. For example, we can have a List
component, and different kind of item components, such ListItem
...
Access this course and 1400+ top-rated courses and projects.