3 ms·
You can use useEffect for this. If you only care about certain state/props, put them in the second argument in an array.
by sombremesa 7y ago
You can use useEffect for this. If you only care about certain state/props, put them in the second argument in an array.