• python@lemmy.world
    link
    fedilink
    English
    arrow-up
    28
    ·
    7 hours ago

    I’m a React developer too and I went tf off on the project manager who suggested we replace the company’s perfectly fine Wordpress homepage with a self-built page running on React. Actually, never ever use React for anything that matters. It’s exclusively suited for making janky browser games and B2B applications.

    • GeirGrusom@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      ·
      3 hours ago

      We had a Svelte application. We chose svelte because it’s simpler than React is, and it’s much faster. However further down the line a consultant said to the CTO that we should move to React. I said React is more complicated and has more edge cases, and its slower, but the consultant said more people know react and it has a bigger community, so we switched to React. This was fairly early in the project. React has sooo many edge cases. It’s not made with async in mind, if you forget to add a [] to a useEffect it just breaks your application completely instead of doing the more sensible thing, it says “don’t use useEffect” but there’s so many “except when” that you end up using it everywhere regardless. Later on the CTO got all in on Claude Code, so we spent the easter holidays rewriting the app in Svelte. Except a few bugs it was feature complete by that week and in production a few days later.

      It’s much, MUCH faster now, and the code is much simpler. We lost absolutely nothing by moving back to Svelte but gained a lot.

      Edit: not that using either of these is sane thing to do in the start menu. The start menu should not be a web application.

      • Gonzako@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        25 minutes ago

        Yeah, you’d use htmx on the start menu. It has all the telemetry these guys want