Last active
February 22, 2022 00:58
-
-
Save klyngen/09611c717afb945d1cf9ca554a68efd3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react" | |
const BasicSSRExample = () => ( | |
<main> | |
<h1>Teknisk sett SSR</h1> | |
<p>Det er ikke noe server side rendered innhold, men teknisk sett SSR</p> | |
</main> | |
) | |
export getServerData() { | |
return { | |
props: {}, | |
status: 200 | |
} | |
} | |
export default BasicSSRExample |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment