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

React Walk-Thru - Santa Cruz JS

React Walk-Thru - Santa Cruz JS

Quick intro to React which was followed by some code demos (not in this slide deck) and some Q&A. Will post video link on Twitter @simonsturmer

Simon Sturmer

May 08, 2015
Tweet

More Decks by Simon Sturmer

Other Decks in Technology

Transcript

  1. Before we begin: ES6 • Template Strings • Arrow Functions

    • Destructuring Assignment • Many more goodies…
  2. … ok, now to the good stuff Why React? •

    Fresh way to build your UI • Just the View layer • Small API (can be learnt in a day) • It’s an abstraction over the browser DOM
  3. React is different react(data) → <View/> • View is pure

    function of state • Declarative • Compositional
  4. JSX • Not a templating library • Just syntax sugar

    on top of JS • Totally Optional
  5. Composition • Does not actually wrap one element with another

    • Extend functionality, add defaults, etc.
  6. Who’s Using React • Netflix • AirBnB • PayPal •

    Yahoo • BBC • Pintrest • Instagram • WhatsApp • …and of course Facebook