MDN rebuilt its frontend from a React SPA (called 'yari') to a web components-based architecture using Lit, eliminating technical debt accumulated from ejected Create React App configs, entangled CSS, and the fundamental mismatch between a React wrapper and static documentation content. The new stack uses Lit web components for

27m read timeFrom developer.mozilla.org
Post cover image
Table of contents
MDN's architectureWhy we rebuilt MDN's frontendEnter web componentsServer components and web components (on the server)Shipping only what's requiredBaselineThe development environmentGet involved

Sort: