@mjml-forge/react
v0.0.0
Published
Thin React wrapper around the mjml-forge Web Component. Holds a ref to the custom element; zero Preact dependency.
Readme
@mjml-forge/react
Thin React wrapper around the <mjml-forge-editor> Web Component. ~80 LOC target. Zero Preact dependency (talks to the custom element directly via a ref + addEventListener). Supports React 17, 18, and 19 per FRW-02.
Status: Phase 0 stub. Wrapper lands in Phase 7.
Peer dependencies
react >= 17@mjml-forge/core(workspace)
Runtime dependencies
None declared. Host supplies React; @mjml-forge/core ships the editor bundle.
License
Apache 2.0. See LICENSE.
