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