Skip to content

Post slugs not logged from getStaticprops on Next.js ISR #197

Answered by ccssmnn
zakiego asked this question in Q&A
Discussion options

You must be logged in to vote

After deploying your app on Vercel, the functions won't have access to the file system where Keystatic stores your content. When all your content is managed by Keystatic you probably don't need ISR. Rather redeploy your site on content changes, which are basically new commits to your repo since they are file changes.

When you want to add dynamic data to your pages, consider middleware or client side data fetching.

I hope this helps 😄

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by simonswiss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants