Share static props between pages #16408
Replies: 2 comments 2 replies
-
I have the same issue. There are around 2000 products on our store which need their own page generated like |
Beta Was this translation helpful? Give feedback.
-
Why has this been moved to Discussions?? It's not a discussion, it's a feature request. Does this indicate that you have no plans of implementing this feature? I would appreciate at least a comment saying that, instead of keeping us in the dark. Creating issues requires effort, and there is zero motivation of expending it if they are hidden randomly without an explanation (this is the second time this happens to me in this repository, the first one was a bug report that I still haven't solved: #15932). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to have the ability to share static props obtained through getStaticProps between multiple pages.
In my case, I have a dynamic route with around 20 different pages that fetches exactly the same data from a Salesforce API. I would like to be able to fetch it just once to reduce my build times and API quotas spent.
Beta Was this translation helpful? Give feedback.
All reactions