R202_-_SP_2025_-_FE_3617.webp
S

R202_-_SP_2025_-_FE_3617.webp

Kizspy | Question: 44
(Choose 1 answer)
What is the correct way to wrap a lazy component with Suspense in React?
A. <Suspense loading={<Loading />}><MyComponent /></Suspense>
B. <Suspense fallback={<Loading />}><MyComponent /></Suspense>
C. <Suspense wait={<Loading />}><MyComponent /></Suspense>
D. <Suspense fallback={<Loading />} loading={<MyComponent />} />

Thông tin

Category
FER202
Thêm bởi
singing_bird
Ngày thêm
Lượt xem
3,316
Lượt bình luận
14
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom