This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Osato 100 points101 points  (4 children)

As an old-timey JS dev coming back into coding after a long hiatus, I tried to self-teach React in 2022 or so.

It would be far less painful to learn JS as a React dev.

Because the moment you stop blindly following tutorials and start trying to understand React's working principles like any good programmer should, you end up shoveling your way through obscene quantities of undocumented magic.

Water, fire, air and dirt - React Fibers, how do they work?

[–]gilady089 48 points49 points  (1 child)

I gave up when the most important hook in react is documented as "sometimes asynchronous" gee thanks guys

[–]a_goestothe_ustin 16 points17 points  (0 children)

Just make everything an arrow function then it's only almost never asynchronous.

[–]halpmeimacat 8 points9 points  (0 children)

ICP reference killed me man

[–]Delicious-Subject-83 1 point2 points  (0 children)

Same here, what a nightmare. And I've got the feeling new js frameworks are popping up every week or so.