I really like the ideas behind Compose! I noticed ...
# compose
j
I really like the ideas behind Compose! I noticed that Compose, Flutter, and SwiftUI all use similar layout techniques of (i) parent constrains child, (ii) child picks size, (iii) parent places child. Does anyone know where this layout technique originally came from? Is there tool that came before these three that uses the same idea?
e
Android views have always been: parent calls
measure
on child with constraints; child calls
setMeasure
with size, parent calls
layout
on child with position
j
thanks!