Sorry to bring up an old thread. I’ve been recently doing this. I’m trying to figure out the performance hit of enqueuing a script / css via functions.php vs inside a component’s template. In the WordPress loading order, the component enqueue would be a bit later in time. Have you noticed a performance hit, or at least, a “flash” of something? I have once before with a charting library.