If everything is decorating each other, you can get many levels very quickly. Take a list for example.
List
ListItem
ListItemAvatar
Avatar
ListItemText
ListItemPrimaryText
You're at 4 levels deep just from a list. That component would live in some other component, which would probably live in some other component, up until you reach the actual top level component. You could easily reach 10 levels.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
In composition? All the time.
If everything is decorating each other, you can get many levels very quickly. Take a list for example.
List
You're at 4 levels deep just from a list. That component would live in some other component, which would probably live in some other component, up until you reach the actual top level component. You could easily reach 10 levels.