Hello, everyone
I'm struggling to think a way to fetch multiple api with useGetStaticProps method.
My use case I use slicemachine to render content which is set in prismic. Some content for slice is dynamic which sits in API.
So my question is how can I prefetch data from 2 apis(Prismic and My Custom Api) to get all data for slice.
I was looking into integration fields feature, but it seems a slicemachine doesn't support it.
One of ways I think that maybe splitting useGetStaticProps to smaller parts, that I could build it myself with extra return props.
Big thanks in advance.