Show HN: Native HTML Partials and Native MFEs

  • Posted 2 hours ago by otocarlson
  • 1 points
Dear HN community,

I’ve been working on a specification and reference implementation called the Remote Module Definition (RMD) pattern. The goal is to handle micro-frontend layout orchestration and dynamic component loading (like includes/partials or even Web Components) natively in the browser using standard vanilla HTML and ECMAScript — no Webpack/Vite or framework runtimes required.

It loads decoupled UI components across separate origins at runtime as well (CORS required). An interesting side effect of this dynamic client-side compilation is that it makes DOM hydration non-deterministic for unwanted automated web scrapers.

Live Demo (view source for geeks): https://cscarlson.github.io/magazinejs/

The reference code (MIT) and specs (CC BY 4.0) will be on GitHub in the Sovereign Commons Distributed repo:

Repo: https://github.com/nativewebfederation/sovereigncommonsdistr...

Would love your feedback on the spec and the approach!

1 comments

    Loading..