Estoy leyendo la documentación de Next.js y veo el siguiente ejemplo para usar getStaticProps()
export async function getStaticProps() { // Get external data from the file system, API, DB, etc. const data = ... // The value of the `props` key will be // passed to the `Home` component return { props: ... } } Dondequiera que miro, solo veo export async function getStaticProps() a pesar de que Promises con la sintaxis .then debería funcionar igual de bien. ¿Next aplica la sintaxis async/await o es posible usar Promesas encadenadas con .then ?