Hi!
I’m trying to deploy a NextJS (v10) project on Netlify (a blog) that has basically 2 pages a landing page, and a dynamic page [slug].tsx that relies on getStaticPaths and getStaticProp to render the articles You can see the code for [slug].tsx here (it’s pretty short)
I tried to build both my app both with npm run build && npm run export and also with next-on-netlify
but both end up with the same issue:
- refreshing a blog post “blocks rendering” the page gets “stuck” animations do not trigger
- accessing a blog post directly (with a link) shows the same issue
What’s weird is that I can render the landing page and refresh it just fine, navigate to a blog post renders the page without any issues.
I hosted the same exact version of my website on Vercel and it doesn’t surface the same issue.
Vercel version (clicking on this will redirect you to a blog post rendered through [slug].tsx)
You can see a video recording here
Thank you in advance for your help!