일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 리터럴 타입
- autosize
- SSR
- Promise
- 공변성
- 투포인터
- 타입 좁히기
- 태그된 유니온
- tailwind
- useAppDispatch
- map
- recoil
- async/await
- dfs
- Jest
- 인터섹션
- 반공변성
- React
- 호이스팅
- 이분 검색
- app router
- ESlint
- Cypress
- TS
- 결정 알고리즘
- RTK Query
- webpack
- 무한 스크롤
- CORS
- CI/CD
Archives
- Today
- Total
목록Suspense (1)
짧은코딩

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