Replies: 1 comment
-
I agree that this would be a pretty great addition. Worth noting that the upcoming app directory support will support a new approach to this: https://beta.nextjs.org/docs/data-fetching/generating-static-params Also, for reference, here are the docs for using the existing support for getStaticPaths: https://nextjs.org/docs/basic-features/data-fetching/get-static-paths |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
My project has many pages and posts - most of them are "custom-type" posts. In Faust.js documentation, you showed an example of how to pull the "first five pages" while I created a function that I think might interest you:
To guarantee the revalidation of all pages and posts, the function is pulling all their paths in getStaticPaths:
Maybe consider adding such an option in one of the following versions,
Roee Angel
Beta Was this translation helpful? Give feedback.
All reactions