News for hackers. Stuff that matters.
Re:Things you forgot because of React by nvahalik on Tuesday August 15, 2023 @09:03AM (#37133465)
Wholeheartedly disagree.

Advancements to CSS have made front-end way more reasonably than they were in the 90s. Stuff that took weeks to figure out with tables can now be done so quickly with `display: flex` and the whole grid system. It's beautiful.

If we had `display: flex back` in 1998 I probably wouldn't have stuck with FE rather than dive into the backend.

Re:Things you forgot because of React by wongarsu on Tuesday August 15, 2023 @09:20AM (#37133661)
Web dev (as in: HTML and CSS) improved a lot in the last 20-30 years. But if I had to quickly make a fully functioning interface and had the choice between today's web and 2002's Delphi 7 I'd choose Delphi 7 in a heartbeat. And just look at what non-technial people were able to do with Macromedia Flash in the early 2000s. You need experienced frontend devs to recreate what designers did as a hobby back then.

Of course those solutions don't solve the transition between desktop and mobile layout (since that wasn't a thing back then), but more some modern frameworks solve that well (like whatever MS calls UWP right now) without forcing everyone to reinvent a way to do infinite scrolling without running out of memory

Re:Things you forgot because of React by phist_mcgee on Tuesday August 15, 2023 @09:54AM (#37134034)
This reads as if written by someone with rose tinted glasses.
Re:Things you forgot because of React by text0404 on Tuesday August 15, 2023 @08:33PM (#37141253)
+1. would love to see an example of something created in Flash by a single designer that takes a team of frontend devs to create today.

fyi folks, Flash is also based on ECMAScript! just because the mid-90s tooling built by Macromedia triggers your nostalgia doesn't mean it was better!

Re:Things you forgot because of React by nvm0n2 on Tuesday August 15, 2023 @09:23AM (#37133692)
If he is comparing things to 1990 then that means he's using "frontend" to included non-web UI tech as well, in which case flex vs tables isn't really the main point of comparison.
Re:Things you forgot because of React by jinushaun on Tuesday August 15, 2023 @09:27AM (#37133741)
Nah. Tables were easy. All the craziness came with people using <div> as <table>. That was only recently fixed by flex box.
Re:Things you forgot because of React by freeopinion on Tuesday August 15, 2023 @09:22AM (#37133685)
I think this is what they meant by rediscovering or reinventing new things over and over. Yes, display:flex is newer than XUL and different in some ways. But 20 years on it seems disappointing that display:flex is perceived as such an advancement by those who have forgotten or never knew the past.
Re:Things you forgot because of React by mablopoule on Tuesday August 15, 2023 @09:15AM (#37133611)
Agree. I did CSS before flexbox was available, and I have no ideas how I did before. There is tons of very good stuff coming our way in CSS (such as container queries), better ergonomics for Javascript, excellent tooling in the browser, stuff to be optimistic for, not just all this madness about the framework du jour.
Re:Things you forgot because of React by jtwebman on Tuesday August 15, 2023 @09:33AM (#37133811)
It was all backend in 1998.
Re:Things you forgot because of React by baq on Tuesday August 15, 2023 @09:43AM (#37133923)
PHP running as lambda functions^W^WCGI. Those were the times.
Re:Things you forgot because of React by ttfkam on Tuesday August 15, 2023 @09:51AM (#37133999)
What's wrong with this?

   float: left;
Oh wait… that was 2002 at least.

"Tables ought to be enough for everyone."

There we go! Nailed 1998!

Re:Things you forgot because of React by ttfkam on Tuesday August 15, 2023 @01:07PM (#37136448)
Wow, I guess I really needed the sarcasm tag there. It appears some folks didn't get that this wasn't aspirational.
Re:Things you forgot because of React by tacker2000 on Tuesday August 15, 2023 @06:52PM (#37140340)
Dont forget clear:both; !
Re:Things you forgot because of React by prmph on Tuesday August 15, 2023 @12:26PM (#37135915)
What? A few days ago I gave up trying to write a moderately complex component based on flex-grid. The number of options, and all the quirks of them, was overwhelming, and in the end I couldn't even get the basic behavior I wanted. Maybe i will try again some other. I think display: flex is very useful, display:grid is too complicated with the way they designed it.