---
title: "Comment by shadowtime2000 on \"Generate HTML Emails with React on the Server\" | Hashnode"
description: "Cool, but really this pattern and stuff can be used for anything, not just emails and it may be better to just use template engines instead so you don&#39;t hav"
url: "https://hashnode.com/posts/generate-html-emails-with-react-on-the-server/5fea1bc05283d44a62c722a4/comment/5fea9a595283d44a62c72791"
---

[Discussion](https://hashnode.com/posts/generate-html-emails-with-react-on-the-server/5fea1bc05283d44a62c722a4)

Comment [Generate HTML Emails with React on the Server](https://hashnode.com/posts/generate-html-emails-with-react-on-the-server/5fea1bc05283d44a62c722a4)

[shadowtime2000](https://hashnode.com/@shadowtime2000)

[Dec 29, 2020](https://hashnode.com/posts/generate-html-emails-with-react-on-the-server/5fea1bc05283d44a62c722a4/comment/5fea9a595283d44a62c72791)

Cool, but really this pattern and stuff can be used for anything, not just emails and it may be better to just use template engines instead so you don't have to use a bundler.

[Carl Hallén Jansson](https://hashnode.com/@chjweb)

[Dec 29, 2020](https://hashnode.com/posts/generate-html-emails-with-react-on-the-server/5fea1bc05283d44a62c722a4/comment/5fea9a595283d44a62c72791#reply-5feaeab5e88ae25261e88968)

Yeah, I don't disagree. I just wanted to show how you can use familiar frontend tools to build HTML emails.

And normally, I wouldn't even have to use a bundler for this, since I'm usually using Typescript.

Using template engines is totally valid and arguably easier to use, but I've found that I prefer to use React as a templating engine, and I thought others might be interested doing so too.
