Q27.webp
L

Q27.webp

Kizspy | Question: 27
(Choose 1 answer)
How can you safely remove an unnecessary dependency from an Effect?
A. Remove all dependencies from the array.
B. Use an empty dependency array to ensure the Effect only runs once.
C. Keep all dependencies and accept performance issues.
D. Replace useEffect with useLayoutEffect.

Thông tin

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

Share this media

Back
Bên trên Bottom