Hacker News new | ask | show | jobs
by klabb3 992 days ago
Nesting of flexboxes can be tricky though – especially when you have elements that fill “the rest of the width/height”.

I’ve found that grids are a little easier to maintain a flat hierarchy and avoid complexity, but the downside is it also doesn’t modularize that well – you need to compose all the cells together, some of which probably should belong in a child “component”.

1 comments

Sub-grids will solve the grid in child component I think.