데이터를 가져올 때, getStaticProps, getStaticPaths, getServrSideProps 3가지를 이용한다.
1. getStaticProps
2. getStaticPaths
params와 fallback
3. getServerSideProps
SSG란?
'개발일지 > React' 카테고리의 다른 글
[27] Typescript Type (0) | 2024.12.21 |
---|---|
[26] TypeScript란? (0) | 2024.12.21 |
[24] modal에 대해 (0) | 2024.12.21 |
[23] Element.scroll 메서드 (0) | 2024.12.21 |
[22] Debounce란? (Throttle의 차이) (1) | 2024.12.21 |