3 ms·
What he said. 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 br
by amalgamated_inc 4y ago
What he said.
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.
- coldtea 4y ago>E.g. calling `useState` multiple times with different (or the same!) arguments and getting different things back That's also the case with random(), time(), and in general any inpure function. Hardly "rule breaking".
- amalgamated_inc 4y agoSure, but in those cases it's inherent complexity, not made-up and unnecessary complexity.
- coldtea 4y agoWell, useState solves a problem too...
- flippinburgers 4y agoReact itself doesn't bother me as much as the tooling around frontend development. I'm looking at you webpacker...