You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
👋 I've seen you're using mrml in the backend and some js in the frontend.
Did you know you could validate the template directly in the frontend with https://www.npmjs.com/package/mrml and avoid some computation/network costs?
The text was updated successfully, but these errors were encountered:
Oh, that’s cool, I didn’t know there was a WASM version of it!
I’m actually planning to add some frontend validation eventually. But I would probably give the official MJML package a try first because it seems to give more meaningful error messages when the markup is invalid 😊
I also think I could optimize things further by rendering the MJML only once instead of for every recipient when sending a campaign.
But for now (aside from error handling), using mrml on the backend works like a charm and I’m excited to see how it performs at scale! So thanks again for creating it!
👋 I've seen you're using mrml in the backend and some js in the frontend.
Did you know you could validate the template directly in the frontend with https://www.npmjs.com/package/mrml and avoid some computation/network costs?
The text was updated successfully, but these errors were encountered: