Hacker News new | ask | show | jobs
by 0x7265616374 605 days ago
Humbly suggest using a superior framework to MJML such as https://jsx.email

MJML is a relic

4 comments

Humbly suggest you’re wrong.

EDIT: Rather than drive-by disagreement, my case is that MJML is highly flexible and has broad enough use at this point that it’s seeing pickup in mainstream clients. (I like what Keila[1] is doing.) From a creative standpoint, it is easy to hop in an editor and build a template, and it solves the problem of email breakage while not being a significant departure from actual HTML layout.

I don’t think JSX makes sense for the email format unless literally all your tooling is built around it. And the fact is, so much tooling in both email and content management is still built around stuff like PHP.

[1]: https://www.keila.io

Well, that's a confusing name - we're using JSX (as in, regular JSX) to write MJML templates in.

Main pain point at the moment is dark mode, but it doesn't seem like JSX email has much to offer there either, unfortunately.

Why do you think it is and what makes JSX Email better in your opinion?
Using jsx for email is an interesting approach. If these work in ancient versions of Outlook and on proprietary, obscure mobile email programs, the way MJML does, I could be swayed.