Skip to content

Instantly share code, notes, and snippets.

@estebanmunchjones2019
Created April 1, 2021 16:00
Show Gist options
  • Save estebanmunchjones2019/1a55d08acefd6d74f3df80d794102c1c to your computer and use it in GitHub Desktop.
Save estebanmunchjones2019/1a55d08acefd6d74f3df80d794102c1c to your computer and use it in GitHub Desktop.
export async function getServerSideProps(context) {
//some back end code here
return {
props: {}, // will be passed to the page component as props
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment