Whoami
Alexandru Albu
Trainer @JSLeague
frontend developer @6yo
design: photoshop, illustrator
development: javascript. python, sql, mongo
tools: docker, cypress, jest
and gaming and basketball
INTRO
Angular Advanced: State Management
server data
user information
user input
ui state
router / location state
the reason behind state management
the process to get to state management
the tool to handle states
REDUX
single source of truth
state is read-only
pure functions update the state
single state tree
actions
reducers
store
one way data flow
component triggers action
action is dispatched to reducer
reducer processes action and returns new state
store is updated with new state
store notifies subscribers
Q&A
By Alex Albu