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.

  • marcos@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    1 month ago

    I do really disagree here. Name lengths should be proportional to the size of their scope.

    If your function has 1 line, your local variables should almost all have 1 letter.