An Introduction to Isomorphic Applications using an example of React JS in a Ruby on Rails project. Pros and cons of Isomorphic Applications versus regular web apps.
Code for demo app available here: https://github.com/shifakhan/react_hello
21. React
➔ Isomorphic JS Library
➔ For Views/ UI components (V in MVC)
➔ Backed and used by Facebook, Instagram
➔ Virtual DOM concept
➔ Renders on both server and client
22. gem ‘react-rails’
➔ Helper methods for react components
➔ Integrates with turbolinks
➔ No need for templates (mustache, etc)