일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 |
31 |
Tags
- 공변성
- 호이스팅
- TS
- Cypress
- autosize
- CORS
- tailwind
- Jest
- 반공변성
- async/await
- map
- 타입 좁히기
- React
- CI/CD
- ESlint
- app router
- 결정 알고리즘
- RTK Query
- 무한 스크롤
- dfs
- webpack
- Promise
- 태그된 유니온
- 이분 검색
- useAppDispatch
- 투포인터
- 리터럴 타입
- SSR
- 인터섹션
- recoil
Archives
- Today
- Total
목록2024/03/29 (1)
짧은코딩
Next의 loading.tsx와 error.tsx with Suspense
loading.tsx와 error.tsx loading.tsx, error.tsx 파일을 만들어두면 로딩 중에는 loading.tsx가 보이고, 에러가 발생하면 error.tsx가 보이게 할 수 있다. React의 Suspense와 error boundary를 이용하여 구현할 수 있다. Next의 Loading UI and Streaming 공식 문서 https://nextjs.org/docs/app/building-your-application/routing/loading-ui-and-streaming Routing: Loading UI and Streaming | Next.js Built on top of Suspense, Loading UI allows you to create a fallback ..
인프런, 유데미/z 클론 코딩
2024. 3. 29. 18:27