• andrew@lemmy.stuart.fun
    link
    fedilink
    English
    arrow-up
    74
    arrow-down
    9
    ·
    8 months ago

    These things are true if you build a SPA wrong. Believe it or not there are lots of ways to build server side rendered pages wrong too.

      • Ephera@lemmy.mlOP
        link
        fedilink
        arrow-up
        30
        arrow-down
        3
        ·
        8 months ago

        I don’t know what the hell you’re interpreting into this 15-word-meme, but I do. I’m not saying all SPAs are shit, I’m saying far too many are. And “far too many” being more than one that I can think of. Even the Lemmy webpage breaks history caching.

      • TherouxSonfeir@lemm.ee
        link
        fedilink
        arrow-up
        14
        arrow-down
        3
        ·
        8 months ago

        There are a lot of standard practices like… using a router to load the content of your SPA according to the url.

        • grue@lemmy.world
          link
          fedilink
          English
          arrow-up
          7
          arrow-down
          9
          ·
          edit-2
          8 months ago

          What I’m saying is, there’s no right way to build a thing that is inherently wrong.

            • grue@lemmy.world
              link
              fedilink
              English
              arrow-up
              6
              arrow-down
              11
              ·
              8 months ago

              Even a perfectly-built SPA is a thing that should’ve been a different kind of program (a native app or even something like Java Web Start) instead.

              • TherouxSonfeir@lemm.ee
                link
                fedilink
                arrow-up
                15
                arrow-down
                1
                ·
                8 months ago

                I strongly disagree, but I respect your opinion which was no doubt formed by different experiences with web technologies than I’ve had.

      • andrew@lemmy.stuart.fun
        link
        fedilink
        English
        arrow-up
        4
        ·
        8 months ago

        There’s no one right way. Saying there are wrong ways doesn’t imply the existence of one right way, though.