Calling an imported API at runtime in Astro

from blog Cassidy Williams, | ↗ original
↗ original
When you want to call an API at runtime in an Astro component, you have to import it in a different spot!