~/talk

Redux on Android, the nitty gritty

Talkat droidCon NYC 2018 · 2018-08-27..08-28· [frontend-architecture, android]
links:none on file
slides:none on file

Argues Redux is practical on Android for state-driven features and can be used as a subcomponent, not an all-or-nothing rewrite, with reducers as pure functions so unit tests stay trivial and predictable. Uses Kotlin data classes and the built-in copy() shallow copy to keep immutability and avoid huge GC spikes. Describes tradeoffs between middleware vs action creators, common pitfalls (infinite dispatch loops, async dispatch scrambling call stacks), and cites libraries (Evan Totara’s Redux, Recottlin) and a Pusher blog post.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 3:05App architecture basics
  3. 6:35Unidirectional data flow
  4. 7:41Redux principles explained
  5. 9:05State modeling in Redux
  6. 12:16Immutable state updates
  7. 13:21Global state scope
  8. 15:07Actions and their role
  9. 17:11Pure functions and reducers
  10. 20:01The Redux store
  11. 22:52Common dispatching pitfalls
  12. 25:21Handling side effects
  13. 26:26Action creators vs middleware
  14. 28:56Middleware chain explained
  15. 30:42Redux challenges and trade-offs
  16. 33:32Final thoughts and resources
~/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.