3 ms·
The article mentions removing simple elements, e.g. "‘Center’ widget is nice for a Hello, World container but I never understood it. Why can’t ‘Container’, some
by karmakaze 8y ago
The article mentions removing simple elements, e.g. "‘Center’ widget is nice for a Hello, World container but I never understood it. Why can’t ‘Container’, something that’s way more prevalent have a property to do the same thing?"
I'm perfectly happy with the nesting of simple elements. Having a single 'Container' also handle various layout rules is what makes all the positioning options of CSS difficult. Similarly for constraint systems. Composable, single function components are easy to learn and use. I'm just presuming that it has good runtime characteristics and haven't run into any issues yet.