Earlier quoted context omitted.
I remember seeing an article a while ago that suggested react was a bad paradigm because of a similar paradigm that failed... something about COM interfaces in windows programs? Does anyone remember such an article? That was one of the few truly interesting critiques of react that I have read. Don't get me wrong, I'm not a React die hard but I definitely do like that it exists, and I understand where it fits on the l…
I think you're referring to https://bitquabit.com/post/the-more-things-change/ , which compares React to a Win32 WndProc function.
I really like the article, but I'm not sure how else you're really going to do it. You could have magic functions that get called like in Qt (draw(), mousePress())* or that clunky Microsoft C++ framework whose name is escaping me (OnPaint(), OnMouseDown()), but behind the scenes the windowing systems is going have to have a big case statement of: in case repaint call repaint(); in case mouse down call mousePress(); etc. Win32's WndProc just made you write the case statement yourself instead of looking up the documentation to see which magic function you need to override.
I'm a JS framework hater--I've never used any, but I figure if they have a new one every year, and all the frameworky-looking websites are slow, there's got to be a better way--but if React is basically WndProc then at least it's on a solid foundation.
I'm sure the names of these functions are wrong