Dynamic routes where param is a folder #15612
-
I've just tried to create a dynamic route like I'm aware I could probably work around it with catch-all routes. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi, this is supported and it sounds like you are leveraging an automatically statically optimized dynamic page (no getInitialProps or getServerSideProps) which does not have the values available during hydration (first render) and is only available afterwards. More information on this can be found in the documentation here https://nextjs.org/docs/advanced-features/automatic-static-optimization#how-it-works |
Beta Was this translation helpful? Give feedback.
Hi, this is supported and it sounds like you are leveraging an automatically statically optimized dynamic page (no getInitialProps or getServerSideProps) which does not have the values available during hydration (first render) and is only available afterwards. More information on this can be found in the documentation here https://nextjs.org/docs/advanced-features/automatic-static-optimization#how-it-works