일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- JavaScript
- design pattern
- 리액트
- 컴퓨터 네트워크
- react firebase
- 백준
- 자바
- 자바 공부
- 리액트 훅
- 디자인 패턴
- 데이터모델링과마이닝
- codesandbox
- 코딩테스트 고득점 Kit 완전탐색
- react
- 프로그래머스 자바
- react hook
- 프로그래밍 언어론
- websocket
- 장고
- 자바스크립트
- NextJS
- 코틀린
- React JS
- Java
- 코딩테스트 고득점 Kit
- vanillaJS
- 프로그래머스 완전탐색
- 프로그래머스
- useEffect
- useState
Archives
- Today
- Total
목록nextjs getStaticProps getServerSideProps (1)
기록하는 개발자
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/bwSXi9/btses7k1Fuo/wwIgXgBick8EbMg385izn0/img.jpg)
getStaticProps If you export a function called getStaticProps (Static Site Generation) from a page, Next.js will pre-render this page at build time using the props returned by getStaticProps. → page에서 getStaticProps(SSG)를 통해 함수를 export 하면, Next.js는 getStaticProps를 통해 return된 props를 사용하여 해당 page를 build time에 pre-render 할 것이다. https://nextjs.org/docs/pages/building-your-application/data-fetching/g..
Web/NextJs
2023. 5. 9. 16:34