MMA301_-_SU_2024_-_FE_2248.webp
T

MMA301_-_SU_2024_-_FE_2248.webp

(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: Quangdung

Thông tin

Category
MMA301
Thêm bởi
Thái Bảo1
Ngày thêm
Lượt xem
3,479
Lượt bình luận
21
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
MMA301_-_SU_2024_-_FE_2248.webp
File size
212.7 KB
Dimensions
1920px x 892px

Share this media

Back
Bên trên Bottom