R202_-_FA_2024_-_FE_2975.webp
TuanKiet1

R202_-_FA_2024_-_FE_2975.webp

Kizspy | Question: 27 (Choose 1 answer)
How can you perform initialization and cleanup actions using the useEffect Hook?
A. By returning a cleanup function from the useEffect callback.
B. By passing an empty dependency array as the second parameter useEffect.
C. By wrapping the useEffect callback in a try-catch block.
D. By using the useCleanupEffect Hook instead of useEffect.

Thông tin

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

Share this media

Back
Bên trên Bottom