~/talk

State Management in Flutter

Talkat code.talks 2019 · 2019-10-24..10-25· [flutter, frontend-architecture]
links:none on file
slides:none on file

A React Native to Flutter rewrite leads to a custom state library replacing Redux+sagas and stream-based BLoCs: code uses atomic async updaters queued so only one updater runs at a time, emits multiple immutable states, and uses immutable union-typed state for compiler-checked UI shapes. Blocks are small, provided via a with-block widget and Provider, HTTP caching prevents duplicate requests, tests await block completion, and an app-restart by key recreates all blocks; clarity and performance improve, with some UI-blocking tradeoffs.

AI-written summary · about

  1. 0:00Introduction
  2. 2:12Overview
  3. 4:00Redux
  4. 5:12Redux Recap
  5. 6:30Read our Saga Recap
  6. 9:12Flutter Blocks
  7. 10:22Streams
  8. 12:15State Enrichment Library
  9. 21:12UpdateState
  10. 24:00Recap
  11. 25:56Waveform
  12. 27:53Blocks
  13. 28:26Combining Blocks
  14. 28:46State Hierarchy
  15. 30:42Globus
  16. 31:45Testing
  17. 32:48App Restart
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.