• SokathHisEyesOpen@lemmy.ml
    link
    fedilink
    English
    arrow-up
    15
    ·
    1 year ago

    Apps are going to be written in React Native

    Idk if I’m the only person who thinks this, but I feel like React has gotten worse over the last couple of major versions. Not only does the code look a lot messier when you use their new syntax, but the end result seems unreliable. Facebook is barely even usable now. Their history management is laughable, and it’ll drop you out of the site randomly when using the back buttons. I used to think React was really neat, but I’m not a big fan anymore. There’s too much re-engineering for problems that were solved decades ago.

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

      Damn…I’m trying to modernize my personal app’s UI and I thought react was the shit. What is the recommended framework now?

      • SokathHisEyesOpen@lemmy.ml
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        If you like it, then use it. There’s no point in jumping every time some new framework comes out. Most of them don’t last. I have used React off and on since it came out, and I personally don’t like how the syntax has changed. My personal website is React and doesn’t have any browser history issues. Idk what’s up with Facebook history management. I guess they just don’t care very much because they’re too busy trying to gobble up data.

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

          Honestly this. You’ll rebuild it in a few years anyways.

          If you absolutely want your project to survive after 15 years…

          Either web components using vanilla, or hell, just go jquery. Jquery is impossible to kill.

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

      React is having the same problems Angular had, and jQuery had. New ECMAscript features make formerly complex things easier, and JS frameworks adapt.

      Lots of solutions. But as more edge cases start to show up, they continue to add more and more little things that shape the language into more different variants.

      Many of the changes are pretty good. But New devs will go, “Why are there 7 ways to do this React thing?” And that adds to the noise.

      Again, that’s not a React problem. It’s just coding in general. PHP also had a “damn you ugly” phase. But unlike PHP, I don’t think React (and most JS frameworks of today) will continue to be as popular as some hot new JS framework in 2027-2030 sweeps the landscape.

      • SokathHisEyesOpen@lemmy.ml
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        And PHP will still be chugging along. lol. It’s weird that React syntax went from being fairly pretty, and structured, to looking like a plate of spaghetti. Usually languages and frameworks go the other direction.

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

          Not at all knocking PHP.

          I love how PHP 7 looks, and PHP 8 only continues to improve.

          Totally agree. React is going backwards. Vue is so attractive. Heck, I’m even starting to rebuild react apps in Web components because react is getting weird.