<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Next.js on David Lang</title>
    <link>https://www.davidlang.tech/tags/next.js/</link>
    <description>Recent content in Next.js on David Lang</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Tue, 11 Oct 2022 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://www.davidlang.tech/tags/next.js/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Differences between getServerSideProps and getStaticProps in Next.js</title>
      <link>https://www.davidlang.tech/posts/differences-between-getserversideprops-and-getstaticprops-in-next.js/</link>
      <pubDate>Tue, 11 Oct 2022 00:00:00 +0000</pubDate>
      <guid>https://www.davidlang.tech/posts/differences-between-getserversideprops-and-getstaticprops-in-next.js/</guid>
      <description>&lt;h3 id=&#34;introduction&#34;&gt;Introduction:&lt;/h3&gt;&#xA;&lt;p&gt;&lt;code&gt;Next.js&lt;/code&gt; is a popular &lt;code&gt;React framework&lt;/code&gt; that enables developers to create server-side rendered applications with ease. Two essential functions in Next.js are &lt;code&gt;getServerSideProps&lt;/code&gt; and &lt;code&gt;getStaticProps&lt;/code&gt;, which help developers pre-render pages and optimize performance. Although they share similarities, they have significant differences in terms of functionality and usage. In this blog, we will explore the differences between getServerSideProps and getStaticProps and provide real-world examples to help you understand their use cases.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
