Node.js

A collection of 1 post

Strongly-Typed, Server-Rendered Views with React and TypeScript

Tags: React TypeScript Node.js

March 11, 2018

Comments

After completing this tutorial, you'll be able to use React to render templates server side as part of a Node.js application. This will be set up in a way for the TypeScript compiler to catch any issue with rendering the view, including incorrect view model data and dealing with renamed files. I used Visual Studio Code for the tutorial, since it's a great cross platform editor/IDE, but you can use any tools you like. Other popular options include WebStorm. The Problem Before showing how to do this, I should show why one would want to do it in


Matt Welke

Software developer, open-source enthusiast, ramen lover