#react-ssr-prepass
Explore tagged Tumblr posts
Text
Make Header and Footer APIs Load Once in a Next.js App with getServerSideProps
If we are using getServerSideProps in Next.js for data fetching, it will call all the APIs for a single page including the header and footer APIs. But in most cases, we only need to call the header and footer APIs once when are loading the app for the first time. So here in this article, we are discussing a way to make header and footer APIs load once in a Next.js app with…

View On WordPress
0 notes