• Swedneck@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    11
    ·
    1 year ago

    This is my number one issue with the modern web, things are completely unusable until 100% of the page has loaded in, and in the process of getting there shit moves around with every single element that’s loaded…

    can we go back to the days where the raw HTML loaded first and you could at least read text even if your connection cut out and the css and JS never loaded?

    • WDX@feddit.de
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 year ago

      Sounds like “Progressive Enhancement”

      You can find this in many server side rendering frameworks where the Server will load the page as HTML first and then replace the DOM with JS-bound Elements.

      If you are interested in the Topic I can highly recommend taking a look at Remix.run .
      It has progressive enhancement at the core of its design. For example it uses the Forms API to send data. This way you can interact with the website with and without JS