Show HN: 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 load…
以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。
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! Comments URL: https://news.ycombinator.com/item?id=50373378 Points: 1
Comments: 0
正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。