4 ms·
Yes, the app router allows for the same static generation.[0] It is the default rendering strategy, and the page only becomes "dynamic" (rendered at request tim
by MalseMattie 3y ago
Yes, the app router allows for the same static generation.[0] It is the default rendering strategy, and the page only becomes "dynamic" (rendered at request time) if the page has a "dynamic function". (functions that use URL search params etc.)
[0] https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic-rendering https://nextjs.org/docs/app/building-your-application/render...
- leerob 3y agoFurther, you can statically export your application to HTML, CSS, and JS files and host without a server: https://nextjs.org/docs/app/building-your-application/deploying/static-exports https://nextjs.org/docs/app/building-your-application/deploy...
- kylehotchkiss 3y agoThis is one of my favorite ways to build Next.js sites, and adding in Dynamic when needed is Next's superpower. Thanks for noting the the new app/ folder supports it!