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

Tab chars are better than spaces AND the correct tab width is 2 spaces

  • source
  • parent
  • hideshow 6 child comments
  • [–] 18 points 1 week ago (1 child)

    Tab chars are better, no opinion on the width but if you use the chars, everyone can do what they want

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 1 week ago

    I don't see why an IDE can't convert e.g. 4 width spaces to 50% visual width for those that prefer 2 spaces. That way the code doesn't need changing, and everyone still enjoys their own personal width preferences

  • source
  • parent
  • [–] 3 points 1 week ago (2 children)

    I was on board with the first guy, but this is going too far. We should compromise between the 2- and 4-spaces camp, and we settle on 3 spaces.

  • source
  • parent
  • hideshow 2 child comments