From Angular to React... and back again
You might be thinking…
@simona_cotin @hackawaye
One framework. Mobile & desktop.
Release date: September, the 14th 2014 Contributors: 462 License: MIT
Intro - Angular History - misko hevery
Keep Your Minds Open ES6 Web Components React RxJs TypeScript ember-cli
Performance is not a single number Startup Speed First Time Render U pdate R ender RouteTransition Change Detection Memory Pressure
Lazy Loading
AoT • Faster rendering • Fewer asynchronous requests • Smaller Angular framework download size • Detect template errors earlier • Better security
AoT
Tree Shaking
Angular Cli
REACT A JAVASCRIPT LIBRARY FOR BUILDING USER INTERFACES
Release date: May, the 26th 2013 Contributors: 1034 License: BSD-3 with Patent Clause
Component based architecture Flow (strongly typed) ES6 Predictable state management (Redux + Middlewares)
Virtual dom
● Reconciliation algorithm v1 a.k.a. Stack reconciler (2013) ● Reconciliation algorithm v2 a.k.a Fiber (2016)
Getting started
vs
vs
vsvs
vs
vs
vs
vs
Wait, how do I manage state? vs predictable state container for JavaScript apps REDUX
vs
vs
vs
Where did $http go? vs “..not a framework” -every React developer out there • axios • superagent • fetch
Wait, how do I pass data between components? vs Parent To child
Wait, how do I pass data between components? vs Child To Parent
Wait, how do I pass data between components? vs Component To Component REDUX
Back to Angular
Back to Angular
Back to Angular Stateful vs Stateless
Angular CLI by Angular Augury Language ServicesProtractor
Linter: eslint-config-airbnb.
Editor: any editor that allows you to configure linting
React Developer Tools Redux Dev Tools Remote Redux Dev Tools
Coding and Arch Guides: provided by the community with
● Angular Style Guide ● Typescript ● UpgradeModule ● Upgrade cheatsheet ● Asim’s migration blog https://goo.gl/G2rnF2
● Can prove difficult to architect a large app ● State management and asynchronous data can be confusing ● There is no unified way of doing things, only recommendations
How to choose?
• How mature are the frameworks/libraries ?
Who wins?
Thank you! @simona_cotin @hackawaye

From Angular to React and back again