How I learned to stop worrying and loved the flux
summary
A four‑person UI team at Ideadevice migrates a large YUI MVC app to React and Flux and actually ships a small users/teams app; Flux is used as a specification with Facebook’s simple dispatcher, Immutable.js for store state, and React views. Stores are synchronous singletons that listen to actions (type + payload), while all network async lands in action creators. The stack enables unit tests with React test utils and mocha and cuts network calls via caching and optimistic UI.
AI-written summary · about
chapters (12)
- 0:00Intro
- 0:27Overview
- 2:11What is flux
- 7:26Stores
- 10:59What are Stores
- 20:37React
- 26:04Timer
- 27:24GetState from Stores
- 29:44User List Render
- 31:10View Props
- 42:20Lessons Learned
- 44:02Conclusion
related talks
36mThe Flux Pattern: MVC Framework for Data
58mFrontin' like a Back-er
25mFlux Architecture with Xamarin
59mReact, Flux and the Right Abstractions
31mApplying Unidirectional Data Flow Beyond the ReactJS Ecosystem
25mA cartoon guide to the wilds of data handling in React
13mHow we learned the hard why following a flux pattern matters
40mHow I learned to love React
