#DevoxxFR #ReduxEnRxJS
Redux en RxJS
Florent Le Gall (Fluo) @flornt
1
#DevoxxFR #ReduxEnRxJS
Redux en RxJS
2
• Redux ?
• RxJS - Scan
• Live coding
#DevoxxFR #ReduxEnRxJS
Redux
3
• “A predictable state container for JavaScript apps”
#DevoxxFR #ReduxEnRxJS
Redux
4
#DevoxxFR #ReduxEnRxJS
Redux
5
#DevoxxFR #ReduxEnRxJS
Redux
6
#DevoxxFR #ReduxEnRxJS
Redux
7
• Une seule source de vérité : le store
• L’état en lecture seule
• Changements réalisés avec des fonctions pures
#DevoxxFR #ReduxEnRxJS
Redux
8
(previousState, action) => newState
#DevoxxFR #ReduxEnRxJS
Rx - Scan
9
#DevoxxFR #ReduxEnRxJS
Rx - Dispatch / Subscribe
10
#DevoxxFR #ReduxEnRxJS
Live Coding !
https://github.com/flegall/devoxx-redux-rxjs
11
#DevoxxFR #ReduxEnRxJS
Merci
https://github.com/flegall/devoxx-redux-rxjs (code)
https://css-tricks.com/learning-react-redux/ (schémas Redux)
https://github.com/garbles/yolk (YolkJS)
12

Redux rx js