[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.
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.