React component library to generate the HTML emails on the fly
Faire, a company that has extensively used the mjml-react package, has announced that they will be taking over maintaining the open-source project. This package has allowed them to easily create emails without requiring their developers to learn a new development environment. Faire plans to improve the package and introduce new features while ensuring compatibility with the previous version. The company expresses gratitude towards the Wix team for building and maintaining the project.
To get started with the mjml-react package, follow the steps below:
// Uncomment mjml rendering
// const { renderMJML } = require('faire/mjml-react/package/dist')
// Comment mjml-browser rendering
const { renderMJMLMJMLBrowser } = require('faire/mjml-react/package/dist')
// Uncomment mjml-browser rendering
const { renderMJMLMJMLBrowser } = require('faire/mjml-react/package/dist')
// Comment mjml rendering
// const { renderMJML } = require('faire/mjml-react/package/dist')
Faire, a company that has extensively used the mjml-react package, has taken over maintaining the open-source project. They have introduced a new version (V2) which includes support for all mjml components, TypeScript integration, and other improvements. Faire also has plans for future updates (V4) which will focus on improved prop type safety. The installation process involves choosing between rendering options (mjml or mjml-browser) based on the desired environment.