Home

019


May 6, 2020


After a good amount of reading up on developing a custom blog system using Node, Express, and MongoDB, I've realized that utilizing a template engine may not be a bad way to go. While I'm set on learning as much about everything as deeply as possible, I've come to the conclusion that some things may not necessarily be mutually exclusive. I considered for a moment developing my own template engine, but decided to see if there was a React template engine.

Sure enough, there is.

It's the express-react-views package and utilizes React components in its construction of static pages. I love this, as I can tinker with how my daily updates render while learning React simultaneously. Granted, this is not like React in the browser, but I feel this will give me a kickstart in developing dynamic pages on the frontend when the time comes.

Or I become really good at server-side rendering. Who knows? This path can go anywhere, and it has so far ...

Comments? Follow me on twitter and drop me a line in response to this tweet:

Day 019: scratch what I said about template engines. After further research, I’ve decided to utilize the React template engine.https://t.co/X7ypZ91gcL#nonsensemod364 #hatCodingLife pic.twitter.com/mh2ZBpVsAt

— Joshua Alexander (@nonsensecodes) May 7, 2020