Introduction to React.js

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers. →

Introduction to React.js

Overview of core concepts in React.js

Roman Liutikov

November 20, 2016

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

8 slides
  1. DOM is also a tree structure <html> <head> </head> <body>

    <h1>Hello!</h1> <div></div> </body> </html>
  2. React.js application is a tree structure of React components <Root>

    <Child /> <Child> <Child>Hello!</Child> <Child /> </Child> </Root>
  3. A component may have an internal state When state is

    updated, component and its children are also updated (re-rendered).
  4. Child to parent communication Parent component may pass a callback

    function, which changes a state of the component, to child component.

More Decks by Roman Liutikov

Other Decks in Programming