• 9point6@lemmy.world
    link
    fedilink
    arrow-up
    19
    arrow-down
    3
    ·
    edit-2
    1 year ago

    I’d agree with you if you were saying this about 8 years ago, but IMO the post-jQuery-front-end dust has settled and the “best” (in terms of what most organisations end up choosing) hasn’t really changed in a while.

    • Typescript unless you’ve got a really good reason not to.
    • React if you have anything remotely complex.
    • Webpack (or one of the wrappers) to bundle it up.

    Sure, someone may like a React alternative, and that’s completely fine. But at the end of the day, most companies are using React because it’s basically industry standard at this point, and it’s got too much momentum behind it for that to change any time soon.

    I’d say the back end is where all the choice is these days

    • Strawberry@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      We must be in different organization circles because almost every frontend I’ve seen at my jobs or those of my friends at other organizations uses Angular

      • Phen
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        I’ll be honest, I think it’s been years since I last saw anyone even mention Angular anywhere.

    • fidodo@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 year ago

      Maybe I’m just too used to it, but with next.js static site generation I find react to also work really well for simple sites too. If you’re not dealing with state, react is basically just functions that return templated html. IMO it’s pretty sleek for static websites since tsx let’s you do basic templating with functions.