Loading "Dad Joke and Break Use Effect"
Run locally for transcripts
π¨βπΌ That's as far as we're going to take
useEffect
. Unfortunately there's just
not a good way to handle the cleanup function since we don't have a way to track
when a component gets added and removed from the page because the API React
offers us for that is useEffect
π
But hopefully you learned something valuable here! Write down what you learned!