Is it possible to pull in data using getStaticProps from Convex in next.js builds?
We store metadata for Google, Facebook (ie page <title> and page <descriptions>) on Convex, seem to be having a problem with those rendering for Google and other crawlers, the data is not showing up. Seems to due to page content not being ready to serve on load, ie. need to complete the Convex queries first.
2 Replies
The Convex HTTP client is a good fit for server-side rendering or ahead-of-time getStaticProps cases like this https://docs.convex.dev/client/javascript
Got it, thank you!