Let's React !
Web Developer @ Import.io
What is ReactJS ?
- Project created by Facebook
- Library for building user interfaces
- Used in Instagram and WhatsApp
Why I need to switch ?
I like my ng-* attributes
- Hard to debug Angular Expressions
- Did you try +5000 bindings ?
- Damn $scope.$apply
- AngularJS 2 is too different bro'
Let's see the code
JSX is a JS syntax extension that looks similar to XML
You can use a simple JSX syntactic transform with React
By keeping in memory the DOM,
ReactJS just re-renders the updated elements
State or Props ?
- component (Will / Did / WillUn) Mount
- component (Should / Will / Did) Update
And if I want to play with innerHTML ?
Let's Render !
Let's componentize our app !
Still want awesomeness ?
Thank you !
Let's React - DevRocket UK
By Yacine Rezgui