(no title)
tristanperry | 4 years ago
Nothing wrong with the suggestion, but it's just ironic that we seem to be coming full circle again.
Next we'll probably have posts extolling <Table> components for layouts ;)
tristanperry | 4 years ago
Nothing wrong with the suggestion, but it's just ironic that we seem to be coming full circle again.
Next we'll probably have posts extolling <Table> components for layouts ;)
ratww|4 years ago
They aren't the same thing. Check the link in the article [1]. It is using regular CSS, and some of those components use more modern things like Grids.
They also aren't applied between components like old element-spacers. Component Spacers have much more in common with regular margin/padding than with 90s spacers.
[1] https://seek-oss.github.io/braid-design-system/components/St...
armandososa|4 years ago
Not really. The Stack component he uses as an example is actually just a thin abstraction over some reusable css. In plain html, it could look like
There are no "spacer gifs" anywhere, it's only that you're lifting the margin responsibility to the parent. I may be wrong, but I think the whole stack concept is borrowed from SwiftUI.That said, I've recently started using actual spacer divs that are more similar to the spacer gifs of yore, you mentioned. So I could do things like:
Having been alive during the whole semantic web era, that feels very wrong to me. But it works like a charm to keep your code consistent with a design system which seems like a more noble endeavor than to write html that makes more sense to machines (which was, if I remember correctly, the objective of the semantic web).arcticbull|4 years ago
timeon|4 years ago
tambourine_man|4 years ago
Not dead, but under severe attack. We can and will fightback
7sidedmarble|4 years ago
It is not very popular. React, Vue, etc., do not use the Custom Element spec.
jerrycruncher|4 years ago
Working at a boutique design shop back then, I remember trying endless combinations of the spacer tag along with spacer gifs to try to ship layouts that were at least semi (and hopefully mostly) consistent cross-browser.
Having lived through those web dev dark ages, I'm pretty baffled by the resurgence of 'markup as styling'.
[1] https://www.tutorialspoint.com/html/html_spacer_tag.htm
thrower123|4 years ago
tambourine_man|4 years ago
We'll revisit old ideas from time to time after going the opposite extreme, but never in the same way.
ratww|4 years ago
dmix|4 years ago
I have to agree with others. It is not the same as 1px spacer hacks at all.
j0ej0ej0e|4 years ago
MarcellusDrum|4 years ago
dmix|4 years ago
lwhi|4 years ago
[deleted]