Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sa02045 committed Jan 4, 2025
1 parent 50808b9 commit 891fae6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions data/blog/suspense.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,9 @@ useSuspenseQuery({

## 부분 Suspense

부분 Suspense 방식은, 말 그대로 각 컴포넌트마다 Suspense를 따로 걸어주는 접근이다. 아래 예시처럼, 페이지를 구성하는 여러 컴포넌트를(Section1, Section2 등)을 각각 <Suspense>로 감싸주면 된다.
부분 Suspense 방식은, 말 그대로 각 컴포넌트마다 Suspense를 따로 걸어주는 접근이다. 아래 예시처럼, 페이지를 구성하는 여러 컴포넌트를(Section1, Section2 등)을 각각 Suspense로 감싸주면 된다.

```tsx
// Page Component
<Suspense fallback={<Skeleton />}>
<Section1 />
</Suspense>
Expand Down

0 comments on commit 891fae6

Please sign in to comment.