Route segments execution flow in app router #62714
Unanswered
aomini
asked this question in
App Router
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I believed that the
layout
is execute first, thentemplate
and finallypage
.but If I add a async -await a
fetch
request inside oflayout
thepage
code is executed first in the server.Example:
Output:
Beta Was this translation helpful? Give feedback.
All reactions