Додати до Chrome
✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
What happens if the dependencies array is empty in the useEffect hook?
dependencies
useEffect
The effect runs every time the component updates.
The effect never runs.
The effect runs continuously in an infinite loop.
The effect runs only once when the component mounts.
Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!