Actually we are using the app directory, which is now stable since the last major release, so getStaticProps
is not available. I found an old forum thread from 2021 that extractPlasmicQueryData
can not be used on the server.
It seems that this is still true 2 years later, although the app router is the new standard in next.js 13?