Creating Isomorphic apps with React and Node.js

added by JavaScript Kicks
11/4/2014 4:26:51 PM

140 Views

React, the UI library by Facebook, is definitely a great tool for building User Interfaces. According to me one of the strengths of React is that it can be rendered on both client and server. You can create truly amazing isomorphic apps using React and Node.js. When users request a page they will get a server rendered version first. All the subsequent user interactions will use client side rendering. In this way you can use best of both the worlds. As your app can render server side the SEO issue is resolved. Furthermore your users also enjoy all the benefits of Single Page Apps as your app can render on client as well.


1 comments

Drew Peterson
11/4/2014 7:07:34 PM
This fits well with the theme of progressive enhancement in the posts here lately. A great next step would be to add additional top-level routes so that any time a full page is requested, it's rendered server-side as well (as opposed to only the home page being rendered server-side). This fits with what Miguel Castro likes to call, "pockets of SPA".