---
title: "Discussion on \"Learn getStaticProps() in Next.js\" | Hashnode"
description: "Discussion on \"Learn getStaticProps() in Next.js\". getStaticProps is a function in the Next.js framework that allows you to fetch data at build time and pass it to a page as props."
url: "https://hashnode.com/posts/learn-getstaticprops-in-nextjs/63a443eadf1887deeb43a6c0"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Learn getStaticProps() in Next.js](https://ezelu.hashnode.dev/learn-getstaticprops-in-nextjs?utm_source=hashnode&utm_medium=feed)

getStaticProps is a function in the Next.js framework that allows you to fetch data at build time and pass it to a page as props.

Dec 22, 2022 · 3 min read · ezelu.hashnode.dev  
Read the article

-   [#nextjs](https://hashnode.com/tag/nextjs)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Ezelu Joseph John](https://hashnode.com/@Ezelu)

@Ezelu · Nigeria, Africa

  
[View profile](https://hashnode.com/@Ezelu)

Obsessed about Frontend, Next.js and Typescript✊🏿

I am a Frontend React Developer 🥰🥰 A touch of goodness, Next.js and Typescript I am passionate about Blockchain Development and Technologies 😊😊💛💛

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
