2 ms·
Static isn't going anywhere. In my opinion, one the best parts about Next.js is you can blend static with dynamic, on a per-page basis. Your landing page can be
by leerob 4y ago
Static isn't going anywhere. In my opinion, one the best parts about Next.js is you can blend static with dynamic, on a per-page basis. Your landing page can be completely static + periodically updated in the background (i.e. ISR) and your /dashboard page could be a fully server-rendered application behind auth. You can do both without ejecting from the framework and being able to update and receive performance/security improvements. We've called Next.js a "hybrid framework" because of this, but I don't have a great name for it.
- kilburn 4y agoI suspect the fear was about "next export" going away, not the SSG functionality within a next.js server-side app.
- freedomben 4y agoYes you are correct, thanks this is a great clarification!