Show HN

Remote Module Definition (RMD)

by @otocarlson

Native HTML Partials and Native MFEs 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!

Discover more builders

Builderlust is an endless, joyful scroll of real projects people are shipping right now. Get the app to keep finding your next spark of inspiration.

📱 Coming soon to iOS & AndroidOpen in the app