This post was written before the release of NextJS 13.
I recommend you taking your time while reading this, as this concept is in the foundation of Nextjs.
getStaticProps and getServerSideProps can be defined as follows:
* getStaticProps(): A method that tells the Next component to populate props and render into