Book Image

Universal JavaScript with React, Node, and Redux [Video]

By : Maxime Najim
Book Image

Universal JavaScript with React, Node, and Redux [Video]

By: Maxime Najim

Overview of this book

The latest trend in web development, Isomorphic JavaScript, allows developers to overcome some of the shortcomings of single page applications by running the same code on the server as well as on the client. Leading this trend is React, which when coupled with Node, allows developers to build JavaScript apps that are much faster and more SEO-friendly than single page applications. Universal JavaScript is the latest evolution in modern web development. It allows developers to overcome some of the shortcomings of single page applications by running the application code interchangeably on the server as well as on the client. This beginner friendly video course is a solid start for building real, production ready universal React apps. The video will Takes you from a beginner to working with node.js and React on the server and the client. It covers the fundamentals of the full set of technologies that you need to know in order to become an Universal JavaScript developer. Teaches you the skills required to become competent and comfortable sharing your JavaScript application on the client and sever environments.
Table of Contents (6 chapters)
Chapter 5
React and Redux on the Server
Content Locked
Section 1
ReactDomServer
In this video, we are going to review the data flow for server-side rendering in an React and Redux application and use the ReactDOMServer class to render react components on the server. - Review the data flow for server-side rendering in a React and Redux application - Introduce ReactDomServer.renderToString - render a React element to its initial HTML - Introduce ReactDomServer.renderToStaticMarkup as the second render function we can use on the server side