Next.js is not the first solution to introduce SSR with React, but it shows an excellent way to fetch data(AKA: getInitialProps). With that, we could build pages without worrying about how and when to render them. export default function HomePage({ name }) { return ( <div> Hello, {name} </div> ) } HomePage.getInitialProps = async function() { // Fetch some data from an external API return { name:

