Q27.webp
Kechizu76

Q27.webp

Kizspy | Question: 27
(Choose 1 answer)
With hook in React Navigation, what will happen if you call useFocus Effect inside a functional component but
provide an empty dependency array?
A. The effect will run only once when the component mounts
B. The effect will run every time the component is focused and not unfocused
C. The effect will not run at all because it needs dependencies to function
D. The effect will run every time the component is rendered, regardless of focus
  • Like
Reactions: Kiru

Thông tin

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

Share this media

Back
Bên trên Bottom