Architecture Quick Overview
Doguhan Uluca
Shadow
DOM
vs
Virtual
DOM
Lack of Native F12 Dev Tools Support
😢
😞
scoping
performance
... is a predictable state container
... programming with asynchronous data streams
Event Source
Event Handler
user clicks
window.alert('Are you sure?')
onClick='confirmSave()'
updated data
fetchDetails()
updateCache()
showToastMessage()
Event Source
mouse clicks
filter(x >= 2)
throttle(250ms)
map(list.length)
<li *ngFor="let i in list | async">
window.alert('Are you sure?')
Presentation
API
Business
Persistence
Best Practices
IDE
Patterns
Libraries
View
View Model
Controller / Router
Services ($http, redux, logic)
Best Practices
IDE
Patterns
Libraries
app.ts
rootRouter
services
filters
directives
/a: default
/master
/detail
/b/...
/c
childRouter
/d
/e
/f
App.js
Presentational
Container
Provider
Router
Component Legend
react-router
react-redux