3 ms·
I think React's decision, when faced with a desire to track state alongside code, to partially reimplement objects inside of functions rather than just saying "
by spanhandler 6y ago
I think React's decision, when faced with a desire to track state alongside code, to partially reimplement objects inside of functions rather than just saying "know what, this new feature requires class syntax, deal with it" (and in fact excluding class-style syntax from the new features) is the perfect sign of where the functions-vs-OO pendulum is.