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.

you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 2 weeks ago (1 child)

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.

  • source
  • parent
  • hideshow 1 child comment