Comment on Cloudflare DDoSed itself with React useEffect hook blunder
Awkwardparticle@programming.dev 1 week agoYou are correct, useEffect can be dangerous if you don’t know exactly what you are doing. I would go so far as to say that most people use it incorrectly. This includes myself, I am not great at using React and end up using it in the wrong places, which according to a colleague, it should just be avoided if possible.