Mine is that the useState hook is an actual plague on the entire React ecosystem. Regardless of your opinions of React, if you wanna use something then use it right.

  • UnfortunateShort@lemmy.world
    link
    fedilink
    English
    arrow-up
    46
    ·
    11 days ago

    That’s why people invented properties / auto generated getter/setter - in at least 95% of cases they are just busywork.