News for hackers. Stuff that matters.
[dead]
Re:Using TypeScript with React by hombre_fatal on Thursday August 22, 2019 @07:57PM (#20773485)
Why pick on a contrived example? You can fill in your own less-contrived state + methods, it's not really the point of their question.
Re:Using TypeScript with React by Roboprog on Thursday August 22, 2019 @10:47PM (#20774160)
As an example of the “OOP according to Java (and C++)” culture that is making JavaScript tedious to work in.

I want move past the “bad OOP” stuff shoved down my throat 30 years ago, into a style that is more FP oriented.