Y
Hacker News
new
|
ask
|
show
|
jobs
by
wg0
535 days ago
useEffect is simple. If I recall correctly, with no arguments it is like onMount and with the dependent variables listed in array, it would be executed every time any of the listed variables change.