title: Can getStaticProps be used in a blog to update when a new post is posted?
body: <p>So I'm a little bit confused about <code>getStaticProps</code>.</p>
  <p><code>getStaticProps</code> runs at build time to generate static pages.</p>
  <p>My question is that if I have a blog that updates when a new post is posted I shouldn't use <code>getStaticProps</code>, right? Because it is called only at build time and then never be called to fetch new available posts.
  In this case I should use <code>getServerSideProps</code> or fetch data client-side with <code>useSWR</code>, right?</p>