Hacker News new | ask | show | jobs
by sombremesa 2381 days ago
You can use useEffect for this. If you only care about certain state/props, put them in the second argument in an array.