You are putting programming on a pedestal. Knowledge of finite state machines is like pretty far down on the list of shit you need to know really well. Of course, if it makes you feel superior, pedal that nonsense.
The fundamental problem I’ve witnessed in the component composability era is that many people have their own mental models on what simple composability actually is. It’s a difficult topic to broach as many will see nothing wrong with their component architecture.
The thing that makes React powerful is how easy it is to compose components, and as a side effect, it’s allowing every developer (of every mindset, of every background), to come up with what they believe makes intuitive sense.
Case in point, you might think a finite state machine lib makes a lot of sense for a Dropdown component. I’ve seen one asshole actually write a whole blog post about it.
I’m not perfect either, and have certainly gone down the path of making a fucked up component composed of essentially my world view.
Another common example is the wonderful json config that gets passed into this elaborate component or HOC component, and allll you have to do is update the params and it will be suitable for all your fancy needs. A truly precious thing to stumble upon, and usually makes me want to just kiss the precious genius that concocted this world saving contraption.
Mr. Abramov of course, the grandest of psychopaths managed to turn a simple pub/sub into derivatives options trading buy/sell order chain of actions and reducers.
Some people simply do not think clearly, and it’s wearing me down.
Over time, the composability freedom of React has made me utterly hate my fellow frontend developers. I hate how absolutely insane some of your mental models are.