Hi, I’m building a simple NextJS app and using the Headless API. One thing that I found time-consuming/error-prone is declaring the right set of Plasmic components to fetch during
getStaticProps. I was wondering if the team was thinking about improvements to this? Ideally I think the goal would be to not need to think about which components to fetch.
One idea that I’ve been playing around with is something similar to
extractPlasmicQueryData except it tracks Plasmic components that were initially rendered. Then you simply call a function like
getStaticProps. This solves the problem for most static content, but not for dynamic content. Thoughts on this approach?