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

React - The importance of “isomorphic” SPA

Markus Kobler
September 17, 2014

React - The importance of “isomorphic” SPA

Markus Kobler

September 17, 2014
Tweet

More Decks by Markus Kobler

Other Decks in Programming

Transcript

  1. Website Bloat? Source: httparchive.org 2011 2014 increase CSS 29kb 55kb

    1.9x Images 499kb 1190kb 2.4x Fonts 7kb 67kb 9.6x JS 147kb 295kb 2.0x Total 0.83mb 1.86mb 2.2x 1st Sept 2011 — 1st Sept 2014
  2. Persistence Application Logic View Layer Routing/Controller Server Client Rise of

    the Single Page App Form Validation DOM Manipulation Animations
  3. Single Page Apps ‘native app’ like Quick ‘next’ page load

    times Transient/off-line connections Front-End friendly Photo © Sarah Reid
  4. Using precise mathematical words in contexts that make vague sense

    to a layperson ruin their original usage. Make up a new word, repurpose a shitty English word But leave our damn maths words alone! news.ycombinator.com/item?id=7990191 “ isomorphic
  5. ES6

  6. .text .author Virtual DOM h2 .Comment text .CommentBox .CommentForm submit

    .Conversation h2 .Comment text h2 .Comment text
  7. Virtual DOM h2 .Comment text appendChild(…) Render Loop .text .author

    h2 .Comment text .CommentBox .CommentForm submit .Conversation h2 .Comment text h2 .Comment text
  8. h2 .Comment text h2 .Comment text appendChild(…) h2 .Comment text

    h2 .Comment text removeChild(…) Virtual DOM h2 .Comment text appendChild(…) Render Loop .text .author h2 .Comment text .CommentBox .CommentForm submit .Conversation h2 .Comment text
  9. h2 .Comment text h2 .Comment text .text .author h2 .Comment

    text .CommentBox .CommentForm submit .Conversation h2 .Comment text Virtual DOM