Semantics with JSX is something I’ve thought about as well. Good read.
I remember writing this functionality in JS on a few sites. Kinda neat they are bringing it straight to CSS.
The author sums it up at the end with “This is a hard time to be a frontend developer.” While true, it is exciting to watch the growth in the field.
Nice new trick using CSS Grid and an svg element to keep an aspect ratio.