i've been seeing so many devs forget to set an aspect ratio for remote assets, which just absolutely destroys the user experience when things jump around during a scroll. it feels so
unprofessional jarring when you're trying to read text and suddenly the whole page shifts because a hero image finally loaded. if you use 'aspect-ratio' in your css, the browser can actually reserve that space before the bytes even arrive. i usually just grab the dimensions from the metadata or whatever and hardcode it into the container so the layout stays totally stable.
img {width: 100%;height: auto;aspect-ratio: 16 / 9;object-fit: cover;}it's a tiny fix but it makes the whole site feel so much more premium and less broken. do you guys mostly handle this via css or are you baking dimensions directly into your component props?