5 ms·
This is everything on how the modern web is a complete disaster. We need react and a 30+ line “component” to represent what used to be a single html tag. Pleas
by iamleppert 6y ago
This is everything on how the modern web is a complete disaster. We need react and a 30+ line “component” to represent what used to be a single html tag.
Please wake me when this nonsense is over.
- deleted 6y ago[deleted]
- oatmealsnap 6y agoI thought this was a parody post.
- Griffinsauce 6y agoThe article doesn't make any argument that you need react. It just happens to be what the author uses. (yes he assumes that you do as well but come on, you can translate it to whatever you're doing) Also, the flexibility described will not fit in a single tag - what tag exactly did you mean? I personally prefer gap-style solutions like a Stack component or something like Tailwind's `space` classes (both using an owl-selector to set margins on children). Either way, margin is tricky in a components-based world because it often breaks the encapsulation. I see this as just an exploration of an option to solve that, do we really need to be this dismissive of exploration?
- tlrobinson 6y agoAnd yet somehow developers are more productive and build better web apps than ever. “Modern web app development sucks” is a really tired trope.
- martin_a 6y ago> build better web apps than ever Is this really true? Most apps and websites are broken in one way or another, terribly slow on older devices or connections and sometimes break for unknown reasons. They look better, yes, but are they really that much better in a complexity to function ratio?
- TeMPOraL 6y ago> And yet somehow developers are more productive and build better web apps than ever. Only if you ask the developers themselves. They sure feel that way. Ask their bosses, or hell, ask users what they feel about the modern web, and the answer may start to differ.
- danielscrubs 6y agoOld users might note that sites start to work after refreshes and that the history is broken from time to time and that adblockers might nowadays break sites. But this is for us using the net before 2000.
- type0 6y agoMobile first web development leaves many sites unusable on the desktop, this includes banking sites where you can't see the whole row of numbers when entering accounts, how is that not broken. Clueless developers using myriads of JS frameworks doesn't make "better web apps than ever" ever.