It baffles me when people use flex layout when it’s clearly visually a grid layout. Nothing here is flexing with varying element sizes and auto-fill-wrap-break of items.
A colleague of mine prefers flex too. But to me, grid is so much more intuitive and simple.
(though I’m usually only using it to display some status just for me and not for external consumption; the UI side can have a JSON if it ever comes to that).
I used to be a full-stack dev, but I’ve been pure backend for so long now, everything I knew is outdated or deprecated.
Tests? Pfffft. I am the test.
And while I’m here: https://blog.jim-nielsen.com/2024/sanding-ui/
Users are the acceptance testers.
It baffles me when people use flex layout when it’s clearly visually a grid layout. Nothing here is flexing with varying element sizes and auto-fill-wrap-break of items.
A colleague of mine prefers flex too. But to me, grid is so much more intuitive and simple.
https://css-tricks.com/quick-whats-the-difference-between-flexbox-and-grid/
Tbh I’m not a web person (more of a backend person) and don’t know the recommended practices.
display: grid;
is a good friend of mine xDI think using
display: grid;
as your default is the better default, so you’re all set. :)Why do you need either? Just throw the both in the html
People can pull <table> from my cold, dead hands.
(though I’m usually only using it to display some status just for me and not for external consumption; the UI side can have a JSON if it ever comes to that).
I used to be a full-stack dev, but I’ve been pure backend for so long now, everything I knew is outdated or deprecated.
Given the way the frontend world seems to work, this means you’ve been backend-only for at least a week lol