This effectively makes them unreliable for use with conditional page builds
I am also having this issue, where any template with a static query being exported fails to build... which are most of my pages in some projects.
This is a good change having the static queries outside of the JS bundles馃檱 . The full rebuild on the static data change wasn't ideal, in the first attempt we struggled linking page paths to its static data.
Just thinking how to we could go about fixing conditional page builds 馃 . I haven't started investigating myself yet, so just a few questions.
I see in the PR (#25723) there is now a staticQueryResults with a path, is the staticQueryResults saved in the redux.state cache?
Do the staticQueryHashes change if query data returned is different?