home.social

#singlepageapp — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #singlepageapp, aggregated by home.social.

  1. I want to learn Rust but want to have UI in the Browser. Stack-Recommendations anyone?

    #SinglePageApp #rust #htmx #wasm #cargo #learnrust

  2. Navigating to #URLs with `#hash-targets` in them is not supported by most #singlepageapp frameworks due to the #async rendering nature of modern web apps -- the browser can't scroll to a `#hash-target` on page load / transition because the element hasn't rendered yet.

    Possible solutions for #EmberJS described here:

    dev.to/michalbryxi/support-for

  3. Metaframeworks exist to handle dynamic server-side rendering for cases like this (I think they call it "hydration"), but due to some rather specific technical goals for this project, I can't mix client and server logic like that.

    Short of a build phase to auto-generate a stub of the initial client-rendered page, copy-pasta for me!