6 ms·
grid is also a sensible default. Unless you actually want flexing, there is no reason to use flexbox and its more complicated syntax.
by nailer 3y ago
grid is also a sensible default. Unless you actually want flexing, there is no reason to use flexbox and its more complicated syntax.
- dkdbejwi383 3y agoPersonally I find grid more complex - but perhaps I just haven't used it as much compared with flexbox. The vast majority of the time, I find that elements within a particular component (here meaning chunk of UI, not a React/Vue/Svelte etc module) naturally fit along a single axis.
- nailer 3y agoThere’s nothing requiring you to have multiple rows or columns in your grids.