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.

  • wewbull@feddit.uk
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 hours ago

    Not Op but…

    OO languages have classes with inheritance based polymorphism. I don’t see struts + methods as enough to qualify.

    Functional languages have functions which can take functions as arguments and function composition as first class features.