• Potatos_are_not_friends@lemmy.world
    link
    fedilink
    arrow-up
    83
    ·
    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.

    • tsonfeir@lemm.eeOP
      link
      fedilink
      arrow-up
      30
      ·
      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
      22
      ·
      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.

    • kameecoding@lemmy.world
      link
      fedilink
      arrow-up
      8
      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

    • AtHeartEngineer@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      If you like vue, try svelte(kit). Not that it’s better, but another tool in your toolbox. Svelte stores are pretty nice.