by clscott · 3y ago · 0 comments
20 years ago I was in the same place as you but with Enterprise Java.
I stuck with simpler environments where my ability to write and test code worked and code bases could be kept simpler.
You can consider switching to “backend” programming, manipulate data and databases with python. Build APIs with Ruby on Rails. Help business automat some software workflows with Autohotkey.
There are a million niches in software, try another.
I took a 3 year break from front-end and when I came back, everything had changed.
Nobody understands React because it doesn't make sense. It breaks all the rules of programming all the time. E.g. calling `useState` multiple times with different (or the same!) arguments and getting different things back. Hooks are an abomination.
tl;dr it's not your fault, everyone in JS is struggling the same way until they eventually memorize the magic incantations. Don't let that stop you.
That's also the case with random(), time(), and in general any inpure function. Hardly "rule breaking".