Mobile Computing · Cluster
UI Frameworks
Declarative UI, layout, and state.
- 01 Reconciliation: Turning a Declarative Description into Minimal Mutations How a framework compares two descriptions of the same interface to derive a small set of mutations, and why the comparison is a linear heuristic rather than an exact tree edit distance.
- 02 Element Identity and State Retention Across Rebuilds Why declarative frameworks store component state in a slot list keyed by position rather than in the component object, and how that choice decides which state survives a rebuild.
- 03 Constraints Down, Sizes Up: Why Layout Is a Single Pass The layout protocol that passes size limits to children and returns chosen sizes to parents, why one pass suffices, and where intrinsic measurement forces a second.
- 04 Flexbox and Weight Distribution Without a Constraint Solver How flex factors and layout weights divide leftover space, why the algorithm needs a freeze step, and what happens when the total demand exceeds the container.
- 05 View Recycling and Virtualization in Long Scrolling Lists How list widgets bound the number of mounted children while scrolling through unbounded content, what the recycling contract requires of item views, and where the reuse goes wrong.
- 06 Text Measurement and Line Breaking in Layout How a layout engine turns a string, a font, and a width into glyph positions, why shaping cannot be done per character, and how the break opportunity rules interact with measurement.
- 07 Recomposition Scopes: How Granularity Decides What Reruns Why a state read is only observed by the nearest enclosing scope, how dependency tracking limits the work a single value change triggers, and why state hoisting changes cost.
- 08 From Invalidation to Present: The Frame Pipeline on a Mobile Device The stages between a state change and a lit pixel, why the pipeline is driven by the display refresh signal rather than by input, and what happens when a stage overruns its deadline.
- 09 Hit Testing and Gesture Arbitration Across Overlapping Views How a touch becomes a gesture, why the framework must decide which recognizer wins before it knows what the user intends, and how touch slop and failure requirements make that decision reversible.
- 10 Semantics Trees and the Platform Accessibility Bridge How a declarative interface is projected into a second tree that assistive technology reads, what the platform expects of that tree, and why merging and clearing nodes is a correctness problem rather than a labelling one.