Yes, the explanation is very nice and a lot of aspects are covered. Also, the warning about not to overuse this technique is cool. However I'm afraid it may encourage people to do so, and IMO there's no reason to do that at all.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I love the post as an explanation of how useEffect and useRef work, but I agree with Alex. Seeing
useCallback
is less confusing.Yes, the explanation is very nice and a lot of aspects are covered. Also, the warning about not to overuse this technique is cool. However I'm afraid it may encourage people to do so, and IMO there's no reason to do that at all.