~/talk

Essential concepts to know when learning Declarative UI

Talkat DroidKaigi 2024 · 2024-09-11..09-13· [frontend-architecture, android]
links:none on file
slides:none on file

Compares concrete implementations across Jetpack Compose, SwiftUI, React Native by walking through a timetable-item like button (mutableState, like/isLike and setIsLike), notification side effects (launchedEffect, disposableEffect vs useEffect dependency array), and local scopes (CompositionLocal / environment / context). Shows smart recomposition vs virtual DOM, explains memoization to avoid object churn, and presents server-state approaches (SWR and react-query): built-in caching, loading/error states, optimistic updates with rollback, and cache invalidation.

AI-written summary · about

  1. 0:00Declarative UI intro
  2. 1:06Declarative vs imperative
  3. 3:56Common elements in frameworks
  4. 5:42Cross-platform UI components
  5. 8:30Essential UI concepts
  6. 9:54State in declarative UI
  7. 13:14How rendering works
  8. 15:44Side effects in UI
  9. 19:15Side effects in Jetpack Compose
  10. 21:44State challenges in apps
  11. 23:55Sharing data across components
  12. 26:10Composition locals for data
  13. 29:03State management evolution
  14. 30:49MVI and TCA architectures
  15. 32:39Async state with SWR
  16. 34:26React Query for async state
  17. 36:12Key takeaways
~/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.