I'm having a bit of trouble with slice machine. I noticed that it really seems to only work when using useGetStaticProps, which is fine for most cases. However, I do have a case where I want to fetch a page as well as get some dynamic content like the latest three articles. It doesn't look like there is a good hook for getServerSideProps or a way to have useGetStaticProps execute multiple queries in a getStaticProps hook. How are people getting around this?
One other example where this would be useful is fetching headers and footers or menus. In the documentation you use the _app.js component with a getInitialProps hook. However, this disables static generation on the nextjs side. If you could fetch a page alongside your menus or other objects in getStaticProps at the page level you would be able to leverage static site optimization from next as well instead of disabling it with the modified _app.js file.
Anyway just haven't really found any good answers in the documentation so wanted to see if anyone had more experience digging into this stuff with next.js or could point me in the right direction.