Skip to content

getStaticProps on _app #10949

Closed Locked Answered by leerob
eps1lon asked this question in Help
Mar 10, 2020 · 52 comments · 184 replies
Discussion options

You must be logged in to vote

Update: We’re excited to announce Next.js 13, which includes the new app/ directory (beta) with support for nested layouts, colocation of data fetching, streaming, Server Components by default, and much more.

Inside the app/ directory, there is a powerful new way to fetch data with React’s use() hook and the extended Web fetch() API. This allows you to colocate data fetching directly inside components for the most flexibility, including inside layouts.

Replies: 52 comments 184 replies

Comment options

You must be logged in to vote
41 replies
@rafaelsorto
Comment options

@sethreidnz
Comment options

@camposcristian
Comment options

@marketsystems
Comment options

@leerob
Comment options

Comment options

You must be logged in to vote
33 replies
@jotapee
Comment options

@mikestopcontinues
Comment options

@Vadorequest
Comment options

@mikestopcontinues
Comment options

@mukul-turing
Comment options

Comment options

You must be logged in to vote
5 replies
@fabb
Comment options

@timneutkens
Comment options

@JPWallhorn
Comment options

@timneutkens
Comment options

@marcustut
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@madeleineostoja
Comment options

@abbott
Comment options

@ryan-reach
Comment options

@jensmeindertsma
Comment options

@tkstang
Comment options

Comment options

You must be logged in to vote
4 replies
@ryan-reach
Comment options

@jacobrask
Comment options

@jensmeindertsma
Comment options

@jacobrask
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@dcporter44
Comment options

Comment options

You must be logged in to vote
2 replies
@mrgrt
Comment options

@FunctionDJ
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies

This comment was marked as spam.

Comment options

You must be logged in to vote
7 replies
@sisp
Comment options

@sisp
Comment options

@jescalan
Comment options

@rasco
Comment options

@ktravelet
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
10 replies
@leogersen
Comment options

@Manimall
Comment options

@Manimall
Comment options

@leogersen
Comment options

@Manimall
Comment options

Comment options

You must be logged in to vote
1 reply
@Manimall
Comment options

Comment options