by Renee & Sean
React is a declarative, efficient, and flexible JavaScript library for building user interfaces. It lets you compose complex UIs from small and isolated pieces of code called components.
Think React, think components
Everything in React is made from components
Virtual DOM
Reconciliation
Declarative
JSX (JavaScript Extended)
<Hello name="World" />
Function (stateless/presentational)
Class
(stateful)
Props
Are passed into child components from a parent components
State
How a component represents its internal state
Parent
Child
👩🏻💻 👨🏻💻
You're going to need it...
Wasn't that 24 hour break great?
Share global state between components
Dev tools
Store inspector
Time traveling debugger
Middleware