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.

  • HeHoXa@lemmy.zip
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 day ago

    Sure but it feels amazing

    You’re talking to a guy who used to insist 2005 JacaScript could use OOP patterns when common wisdom said it didn’t, since you could declare variables inside a function and call the function like a constructor to create an object.

    I have no shame, decency, nor respect.