By inlining SVGs into the HTML using React (rather than passing SVG files to <img>
tags)....
function **MyIcon**(props) {
return (
<svg
{...props}
className={**styles**({
/*...*/
})}
>
<path d="M17.5 ... 25.479Z" />
</svg>
);
}
Tech stack rebuild for a new Facebook.com - Facebook Engineering