Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Isomorphic JavaScript, What? Why? How?

Isomorphic JavaScript, What? Why? How?

A hands on introduction on isomorphic applications and how to make client and server rendered single page web apps using Express and React.
Demo code: http://bit.ly/isoninja

Danial Khosravi

July 02, 2015
Tweet

Other Decks in Programming

Transcript

  1. Agenda • What is Isomorphic Javascript and similarities and differences

    from SPAs and MPAs • Why do we need it and and what makes it special ! • How to build Isomorphic apps and what tools to use • Express + React + …
  2. TL;DR • Isomorphic Javascript is a broad topic • Use

    React as the view layer on both client and server • Syncing the state of client and server rendered app • Lots of resources and sample codes at the end
  3. Multi-Page Applications • Duplicate logic, different languages • Full reload

    on each rout, slow • I can’t even … • Server rendered content, fast initial load • SEO friendly, Crawlable !
  4. Single-Page Applications • Not SEO friendly, need to pre-render pages

    for crawlers • Users see a blank page or a spinner for few second until application is loaded • Client rendered, faster • More complicated applications • More interactive
  5. • High Performance • Fast initial load (like MPAs) •

    Ajax and delivering data instead of html (SPAs) • Maintainable • SEO Friendly Best of both worlds