3 Replies
There are other parameters necessary to make sure it's treated as a static page.
If you add
export const dynamicParams = false
at the top of your page.tsx file, it should correctly detect it and prerender.seem like its my layout that nextjs dont like
ahhh
its clerk that made my whole app dynamic
@SeeringPhil But isn't it still calling the worker on request ?
yes it still calls the worker on each request to a route, but if a route was prerendered, the html file will instantly be returned instead of a route being SSR'd at runtime