Composition over Configuration
Composition is powerful because it’s a “simple” abstraction that’s meant to combine functionality between two otherwise separate parts. Technically speaking JSX is a Domain Specific Language (DSL), but it’s one that is generally accepted in the wider community and really isn’t much more than a shortcut for function calls. After that pattern becomes solidifed you can create a new component, ResponsiveYoutube and begin using that in its place.
Source: johno.com