Faire / mjml-react

React component library to generate the HTML emails on the fly
https://www.npmjs.com/package/@faire/mjml-react
MIT License
376 stars 16 forks source link

Update readme for V3 #28

Closed emmclaughlin closed 1 year ago

emmclaughlin commented 1 year ago

This way of importing "render: is no longer valid in V3: Screen Shot 2022-10-19 at 3 12 36 PM

Note: The MJML imports can still be imported in the same way, but the render was moved to "@faire/mjml-react/utils/render"; as it relies on a few external dependencies. We want to minimize the external dependencies required to use the core functionality of mjml-react

mifi commented 1 year ago

why is it no longer valid?

emmclaughlin commented 1 year ago

why is it no longer valid?

The "render" is now imported from "@faire/mjml-react/utils/render";

I will clarify that in the original issue note and close this, as we have since updated the readme