• affenlehrer@feddit.org
    link
    fedilink
    English
    arrow-up
    67
    ·
    edit-2
    1 month ago

    Well it’s correct behavior. Websites from the 90s should load instantly now. Any website loading longer should deliver some amazing content that was impossible in the 90s

    Why do websites have to ship 12 MB of JavaScript before they even start to load? In lots of cases SPA have no benefits for the user and just make everything bloated and complex as hell and due to the insanity of the JavaScript packaging also super hard to keep safe / up to date.

    • tyler@programming.dev
      link
      fedilink
      English
      arrow-up
      43
      ·
      1 month ago

      People building spas for everything when literally 99% of sites on the planet would function better as a static site is infuriating. I’ve had so many arguments with devs because they will make up any thing they can to justify using react or angular or vue or whatever, instead of building a fucking static site.

      • affenlehrer@feddit.org
        link
        fedilink
        English
        arrow-up
        28
        ·
        1 month ago

        One of my employeers had a multiple megabytes SPA with a shitload of dependencies (Angular) in production that was just a glorified upload form. All the heavy lifting and verification was done by the backend anyways and it was a pain to upgrade, especially with angular major updates etc.

        Since we replaced it with a vanilla HTML upload form and some templating to display feedback from the backend no more maintenance was necessary and the users and testers where still happy.

    • criss_cross@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 month ago

      A lot of it too is 3rd party tracking scripts and garbage like Full Story that has to also load on apps