Next.js 14 headless?
Answered
Burmese posted this in #help-forum
![Avatar](https://cdn.discordapp.com/embed/avatars/3.png)
BurmeseOP
I came across this article which uses next.js 13 if I'm not mistaken (getStaticProps) - Is there support for a headless environment using next.js 14? This is the article I read - https://vercel.com/guides/wordpress-with-vercel
7 Replies
![Avatar](https://cdn.discordapp.com/avatars/743561772069421169/3c5d689eee4459a24fc420063411c016.webp?size=256)
Ray
Yes, by default the page is static generated in app router
Answer
![Avatar](https://cdn.discordapp.com/embed/avatars/3.png)
BurmeseOP
Oh so I can simply use server actions and fetch the data? How does ISR work, is there a new approach since getStaticProps is no longer supported in v14?
![Avatar](https://cdn.discordapp.com/avatars/743561772069421169/3c5d689eee4459a24fc420063411c016.webp?size=256)
Ray
You fetch the data directly in the server component. ISR work like the same way as page router does
And
getStaticProps
is still being supported in next 14but in the page folder
![Avatar](https://cdn.discordapp.com/embed/avatars/3.png)
BurmeseOP
Oh okay thanks for the clarification. Is there any documentation regarding ISR?