React I love you, but you're bringing me down
I'd like to know how a newcomer would feel after reading the tutorial of the monster you created, React.<p>Take React hooks at its purest for example. I can't imagine the WTF feeling in a newcomer's mind, when the <i>useState(<default-value>)</i> helper function returns the "reactive" variable and a function you have to use to update it (!) do you realize how tricky you end up with your technical DOM optimizations?<p>Same with <i>useEffect()</i>, where you probably will have your whole function defined right into the first argument, and a list in the second one, very lost in your IDE. Who would expect that an empty array of dependencies would trigger it once? Why we should track all those dependencies at first place?<p>When recommending a frontend framework, I found Vue to be more dev friendly. However, it's currently in a long migration crisis, because documentation shows the 2 different APIs you can choose.  I know that the differences are well explained (although they don't even say that's to be retrocompatible with Vue2 mindset), but for a newcomer's mind, it's like asking: which pill do you want to take? red or green? Choose your own adventure!