New Next.js data fetching convention

Nextjs is migrating towards the built in fetch methods that is replacing getStaticProps and getServerSideProps. When they create the call they specify if the call is cached or not.

How is @prismicio/client going to support this update? Is it already supported?

Hey Nick, great question. We're pretty excited about Next's new routing model and all the changes that come with it. We'll be working on supporting it in the coming months. We still need to explore the feature and how our implementation will work, so it's tough to give a more accurate estimate.

To sum up: It's not supported today, but we plan to support it, especially as it transitions from beta to stable.

1 Like