• Awkwardparticle@programming.dev
    link
    fedilink
    English
    arrow-up
    3
    ·
    6 hours ago

    You 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.