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

»I heard React was good« – An Introduction to R...

»I heard React was good« – An Introduction to ReactJS

GitHub repo: https://github.com/fabe/react-portfolio

Since its initial release by Facebook two years ago, React has made massive waves in the world of front-end development. Companies like Instagram, Facebook, Airbnb, Netflix, or Dropbox since rely on the Javascript library for building user interfaces.

This talk covers the basic ideas, concepts and advantages of React. After that, a simple portfolio is built, that applies these concepts in practice.

––––

Seit der Veröffentlichung durch Facebook vor zwei Jahren schlägt React.js immer größere Wellen in der Welt der Webentwicklung. Unternehmen wie Instagram, Facebook, Airbnb, Netflix, oder Dropbox setzen seither auf die Javascript-Bibliothek zum Erstellen von User Interfaces.

In diesem Vortrag werden die grundlegenden Konzepte, Prinzipien, und Vorteile von React erklärt und anhand von Beispielen erläutert. Anschließend wird im Workshop ein einfaches Portfolio gebaut, das die Grundlagen von React praktisch anwendet.

Fabian Schultz

January 28, 2016
Tweet

Other Decks in Programming

Transcript

  1. “React is all about building reusable components. In fact, with

    React the only thing you do is build components. Since they're so encapsulated, components make code reuse, testing, and separation of concerns easy.” https://facebook.github.io/react/docs/why-react.html
  2. React.createElement( "div", { className: "container" }, React.createElement( "h1", null, "Super

    Bowl 50" ), React.createElement( "h3", null, "February 7, 2016 at 3:25PM" ) );
  3. “We strongly believe that components are the right way to

    separate concerns rather than ‘templates’ and ‘display logic.’ We think that markup and the code that generates it are intimately tied together.” https://facebook.github.io/react/docs/displaying-data.html
  4. “DOM manipulation by the browser is slow. ReactJS introduced the

    new idea of using a Virtual DOM. By calculating the difference between the future state and the current one, it can minimize the amount of DOM requests.” http://blog.500tech.com/is-reactjs-fast/
  5. – Babel: Compiles our JSX to JS (ES5) – Browserify:

    Enables us to work modular – Gulp: our build system – Node/NPM: installing the dependencies
  6. To read Angular: Learn a long list of Angular-specific syntax.

    To read React: Learn JavaScript. https://medium.freecodecamp.com/angular-2-versus-react-there-will-be-blood-66595faafd51
  7. Angular 2 continues to put “JS” into HTML. React puts

    “HTML” into JS. https://medium.freecodecamp.com/angular-2-versus-react-there-will-be-blood-66595faafd51
  8. The philosophy of small, composable, single-purpose tools never goes out

    of style. https://medium.freecodecamp.com/angular-2-versus-react-there-will-be-blood-66595faafd51