StackOverflow Questions for Tag: getstaticprops

Matt Freelance Web
Matt Freelance Web

Reputation: 97

getStaticProps return an empty array

Score: 0

Views: 181

Answers: 1

Read More
kaan_atakan
kaan_atakan

Reputation: 4047

How to generate a menu based on the files in the pages directory in Next.js

Score: 16

Views: 9767

Answers: 2

Read More
M.F. Services
M.F. Services

Reputation: 1

Next.js 13 and Firestore static blog page gives me this error => TypeError: Cannot read properties of undefined (reading 'title')

Score: 0

Views: 28

Answers: 0

Read More
Johan Berglund
Johan Berglund

Reputation: 7

getStatic prop replacement in next 13+

Score: 0

Views: 23

Answers: 0

Read More
zlxjune
zlxjune

Reputation: 1

For a Next.js application, how can I dynamically inject global content on the server-side without affecting static page caching?

Score: 0

Views: 91

Answers: 0

Read More
Alhasawi
Alhasawi

Reputation: 1

How can I handle errors and ensure type safety in getStaticProps in Next.js with TypeScript?

Score: 0

Views: 27

Answers: 0

Read More
Pranjal Verma
Pranjal Verma

Reputation: 3

How to create custom routes using Next.js's App router?

Score: 0

Views: 848

Answers: 1

Read More
Ayo Adesina
Ayo Adesina

Reputation: 2395

Next.js Static Paths Working Locally But Returning 404 on Azure Deployment

Score: 0

Views: 522

Answers: 1

Read More
Newbie
Newbie

Reputation: 47

NextJs 14 can't use getStaticProps anymore what i should use in my code

Score: 1

Views: 106

Answers: 0

Read More
Juanma Menendez
Juanma Menendez

Reputation: 20129

NextJS: "TypeError: Cannot read property 'toLowerCase' of undefined"

Score: 0

Views: 1319

Answers: 2

Read More
user2408378
user2408378

Reputation: 28

Returning an array of objects from GetStaticProps in NextJS and using map function to iterate over it

Score: 0

Views: 483

Answers: 1

Read More
Richard Walter Landa
Richard Walter Landa

Reputation: 11

Nextjs static & dynamic rendering

Score: 1

Views: 85

Answers: 0

Read More
Baigeldy Sultanov
Baigeldy Sultanov

Reputation: 1

Migrating getStaticProps({locale}) from Pages to App in Next.js

Score: 0

Views: 89

Answers: 1

Read More
Vaishali
Vaishali

Reputation: 25

passing fetched data from child to parent component in nextJs

Score: 0

Views: 448

Answers: 1

Read More
HNG
HNG

Reputation: 311

How to change getStaticProps in the new app router?

Score: 1

Views: 264

Answers: 0

Read More
YiazmaT
YiazmaT

Reputation: 31

next-i18next useTranslation without getStaticProps

Score: 3

Views: 396

Answers: 0

Read More
Katarina Bitunjac
Katarina Bitunjac

Reputation: 41

Next.js getStaticProps doesn't run and on next build shows error

Score: 4

Views: 854

Answers: 2

Read More
Vuyi
Vuyi

Reputation: 130

Failing to get firestore information when using getStaticProps on Next.js

Score: 0

Views: 46

Answers: 1

Read More
Emiliano
Emiliano

Reputation: 807

getStaticProps returning undefined except I refresh my page

Score: 0

Views: 43

Answers: 0

Read More
mrnja
mrnja

Reputation: 11

How can I get data from getStaticProps?

Score: 1

Views: 21

Answers: 0

Read More
PreviousPage 1Next