Hey there!
Let's say we have a component called c-chat.
In the chat component, there is a very recognisable design pattern. The classic media object. Avartar left and text right.
Would you recommend using the media object here to save markup? OR is it better to repeat the media markup so you know that the element actually belongs to the chat component?
Hey there! Let's say we have a component called c-chat.
In the chat component, there is a very recognisable design pattern. The classic media object. Avartar left and text right.
Would you recommend using the media object here to save markup? OR is it better to repeat the media markup so you know that the element actually belongs to the chat component?
For example:
vs
Thanks!