9. Jun 2013 Mar 2015
Facebook
Inner Project
Public
Release v15.1.0
May 2016
May 2015
Initial Version
for iOS v0.26.2
May 2016Sep 2015
Initial Version
for Android
Evolution
Native
Oct 2015
v0.14.0
v0.13.0
ES6 support
Windows and Tizen are coming (Microsoft & Samsung)
Instagram
10. React Features
• Declarative APIs
• Immutable Data
• Virtual DOM
• JSX
• Component-Based
• Server Rendering (isomorphic)
• Learn Once, Write Anywhere
12. Imperative vs Declarative
• Go to kitchen
• Open fridge
• Remove chicken from fridge
• ***
• Bring food to table
• I want a dinner with chicken
Dinner
26. • Flux May 2014
• Re-frame Dec 2014
• Relay Feb 2015
• Redux May 2015
• Om/next July 2015
Current Solutions
27. Principle
• Single source for whole application
• State is Immutable (read-only)
• Changes are made with Pure Functions
(previousState, action) => newState
28. Pure Function
• Simplicity
• Fewer bugs
• Code re-use
• Easier to test
• High performance
https://en.wikipedia.org/wiki/Pure_function
e.g.
• sin(x)
• e => e * 2