본문 바로가기
JavaScript/React

[React, Next.js] When to Use Static Generation VS Server-side Rendering

by @김상현 2020. 10. 25.
반응형

nextjs.org/learn/basics/data-fetching/two-forms

 

Learn | Next.js

Production grade React applications that scale. The world’s leading companies use Next.js by Vercel to build pre-rendered applications, static websites, and more.

nextjs.org

보통의 경우에는 Static Generation을 권장하지만

유저의 요청에 따라 빈번하게 데이터를 업데이트해야하는 경우라면 Server-side Rendering을 추천한다.

반응형

댓글