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