Sven Anders Robbestad, Inmeta Consulting AS, Oslo — Mastering Server-rendered Apps

Sven Anders Robbestad, Inmeta Consulting AS, Oslo — Mastering Server-rendered Apps

Sven Anders Robbestad, Inmeta Consulting AS, Oslo — Mastering Server-rendered Apps

Creating a fully server-rendered app is perhaps the most intimidating challenge a React dev faces. This talk will show you how to wrap your mind around the React, Express, shared routing and data flow Redux and come out the other end with a fully realised server-rendered app.

5799a3c0434b91ef7e00e730629390f0?s=128

React Amsterdam

April 21, 2016
Tweet

Transcript

  1. 21.
  2. 24.

    ...the user is using using adblock and you've named a

    critical JS bundle with something related to ads 24
  3. 27.

    Rendering your content before you serve them makes: Google happy

    Slow computers happy Smart phones happy NoScript happy 27
  4. 36.

    Advantages Less work on the client = faster render App

    works even if your JS bundle breaks Reuse code from the frontend And if the user has NoScript Or is a bot like Google and Internet Archive 36
  5. 37.

    Drawbacks Need to write a complex server file Relatively slow

    due to lack of optimisations like cache Need to rely on a fetch method before render 37
  6. 39.

    39

  7. 40.

    Resources, Q&A • http://bit.ly/isomorphicreact • Out of the box solution:

    fluxible.io • http://bit.ly/reactjsbook My twitter: #svenardocom Tweet from the conference with the hashtag #reactamsterdam 40