• Potatos_are_not_friends@lemmy.world
    link
    fedilink
    arrow-up
    79
    ·
    1 year ago

    I feel bad because while I don’t reach for react (I usually pick Vue or vanilla), people’s comments about react is really depressing.

    There’s a LOT of shitty react code. And when you see beautiful react implementation, it’s like a work of art.

    Unfortunately, react projects have been given to by bootcamps grads with 6 months of experience and it’s like the blind leading the blind…

    I wonder if it’s like PHP. Lots of people shit on it because they had to futz around in a garbage project written by garbage developers, fully unaware that it can be elegant in the hands of a professional team who cares about code quality.

    • 摆 烂@lemm.eeOP
      link
      fedilink
      arrow-up
      26
      ·
      1 year ago

      PHP is great for building APIs to use with React or Vue. I’m happy I have so much back end experience with both good and bad code.

      My motto: if a Junior dev can’t figure out what I’m doing after two weeks of training, I’ve failed.

    • killeronthecorner@lemmy.world
      link
      fedilink
      arrow-up
      18
      ·
      1 year ago

      I wonder if it’s like PHP. Lots of people shit on it because they had to futz around in a garbage project written by garbage developers, fully unaware that it can be elegant in the hands of a professional team who cares about code quality.

      You can apply this reasoning to any [web] technology. The reason it’s so visible for react, and previously PHP, is simply popularity.

    • DrQuint@lemm.ee
      link
      fedilink
      arrow-up
      7
      ·
      1 year ago

      The problem with some of the comments here is that even “properly” written React CAN hit a performance bump, and optimization is a rather rare skill no matter the programming context (kinda due to little time given to it, so everyone is out of practice).

      But I don’t know which ones are the ones talking about that, and which ones are just people annoyed at anything Node in general.

    • sheogorath@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      1 year ago

      Yep, finding people who understand React is hard. The majority of people who say they’re an expert in React are either coding bootcamp fresh grads or someone who’s entrenched in writing shitty React so by having them join there’s basically no difference in skill with a fresh grade hire or a fourth year college student intern.

    • kameecoding@lemmy.world
      link
      fedilink
      arrow-up
      4
      arrow-down
      2
      ·
      1 year ago

      I find react stupid because of JSX, Vue is much cleaner easier.

      ofc you can create a mess with any tool or framework