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
[–] 3 points 1 week ago (3 children)

Specifically I hate it as a prefix. It's even worse when else clauses become involved!

x = "this is great"
y = "this is awful"
z = false

unless(z)
  puts(y)
else
  puts(x)
end
  • source
  • parent
  • hideshow 3 child comments