From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community...
Transcript of From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community...
![Page 1: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/1.jpg)
From Angular to React...and back again
![Page 3: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/3.jpg)
@simona_cotin @hackawaye
![Page 4: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/4.jpg)
One framework. Mobile & desktop.
![Page 5: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/5.jpg)
Release date: September, the 14th 2014 Contributors: 462 License: MIT
![Page 6: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/6.jpg)
Intro - Angular
History - misko hevery
![Page 7: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/7.jpg)
Keep Your Minds Open
• ES6
![Page 8: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/8.jpg)
Keep Your Minds Open
• ES6 • Web components
![Page 9: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/9.jpg)
Keep Your Minds Open
• ES6 • Web components • React
![Page 10: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/10.jpg)
Keep Your Minds Open
• ES6 • Web components • React • RxJS
![Page 11: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/11.jpg)
Keep Your Minds Open
• ES6 • Web components • React • RxJS • Typescript
![Page 12: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/12.jpg)
Keep Your Minds Open
• ES6 • Web components • React • RxJS • Typescript • EmberCli
![Page 13: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/13.jpg)
Performance is not a single number
Startup
Speed
First Time Render Update
Render
Route Transition Change Detection
Memory
Pressure
![Page 14: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/14.jpg)
Lazy Loading
![Page 15: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/15.jpg)
AoT
● Faster rendering ● Fewer asynchronous requests ● Smaller Angular framework download
size ● Detect template errors earlier ● Better security
![Page 16: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/16.jpg)
AoT
![Page 17: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/17.jpg)
Tree Shaking
![Page 18: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/18.jpg)
Angular Cli
![Page 19: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/19.jpg)
REACT
A JAVASCRIPT LIBRARY FOR BUILDING USER INTERFACES
![Page 20: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/20.jpg)
Release date: May, the 26th 2013 Contributors: 1034 License: BSD
![Page 21: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/21.jpg)
● Component based architecture ● Predictable state management (Redux +
Middlewares) ● ES6 ● Flow (strongly typed)
![Page 22: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/22.jpg)
![Page 23: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/23.jpg)
● Virtual dom ● Reconciliation algorithm v1 a.k.a. Stack
reconciler (2013) ● Reconciliation algorithm v2 a.k.a Fiber
(2016)
![Page 24: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/24.jpg)
![Page 25: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/25.jpg)
![Page 26: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/26.jpg)
![Page 27: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/27.jpg)
Getting started
![Page 28: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/28.jpg)
vs
![Page 29: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/29.jpg)
![Page 30: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/30.jpg)
![Page 31: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/31.jpg)
vs
![Page 32: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/32.jpg)
vs
![Page 33: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/33.jpg)
vs
![Page 34: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/34.jpg)
vs
![Page 35: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/35.jpg)
vs
![Page 36: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/36.jpg)
Wait, how do I manage state?
vs
predictable state container for JavaScript apps
![Page 37: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/37.jpg)
vs
![Page 38: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/38.jpg)
vs
![Page 39: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/39.jpg)
Where did $http go?
vs
“..not a framework” -every React developer out there
axios
superagent
fetch
![Page 40: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/40.jpg)
Wait, how do I pass data between components?
vsParent To child
![Page 41: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/41.jpg)
Wait, how do I pass data between components?
vsChild To Parent
![Page 42: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/42.jpg)
Wait, how do I pass data between components?
vs
Component To Component
![Page 43: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/43.jpg)
Back to Angular
![Page 44: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/44.jpg)
Back to Angular
![Page 45: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/45.jpg)
Back to Angular
Stateful vs Stateless
![Page 46: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/46.jpg)
Tooling
![Page 47: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/47.jpg)
Angular CLIby
Angular Augury Language ServicesProtractor
![Page 48: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/48.jpg)
● Linter: eslint-config-airbnb. ● Editor: any editor that allows you to
configure linting ● Debugging: Browser Console, React
Developer Tools(browser extension), Redux Dev Tools(browser extension)
● Coding and Arch Guides: provided by the community with love
![Page 49: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/49.jpg)
Challenges
![Page 50: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/50.jpg)
![Page 51: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/51.jpg)
● Angular Style Guide
● Typescript
● UpgradeModule
● Upgrade cheatsheet
![Page 52: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/52.jpg)
![Page 53: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/53.jpg)
● 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
![Page 54: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/54.jpg)
![Page 55: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/55.jpg)
Who wins?
![Page 56: From Angular to React Dev Tools(browser extension) Coding and Arch Guides: provided by the community with love. Challenges Angular Style Guide Typescript UpgradeModule Upgrade cheatsheet](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec848e407ed553d46287ee7/html5/thumbnails/56.jpg)
Thank you!
@simona_cotin @hackawaye