centerDiv.js
-
jQuery got popular because Internet Explorer, Firefox, Chrome and other browsers weren’t exactly cross compatible. Writing vanilla JS was risky business in that sense.
It also supported AJAX across all major browsers, which meant the website could make API requests without reloading the entire page. It was super revolutionary to press a button and it only changed a part of the page.
Then Angular and React took it a step forward and that’s where we are now.
wrote on last edited by [email protected]I am very aware of the progression. But you're vastly glossing over how much complexity (and feature set) was added after jQuery. If JavaScript sucks, how would you change it? Shitty browsers implementing it poorly in the past (and safari doing so today) doesn't make it suck.
-
You can wrap everything in unsafe and keep living dangerously!
unsafe
doesn't deactivate memory safety. It only allows you to then create raw pointers and whatnot, which you could use to circumvent memory safety, but all the normal language constructs still do enforce it. -
JavaScript frameworks actually exist for two reasons, one, vanilla JavaScript lacks ease of use (does not suck and I don't care who disagrees) and two, people love over engineering the fuck out of technology. See: technology since the iPhone came out. We have advanced systems around the world spinning up processes to make up for the fact that touch screens are hard to type accurately on.
Immediate mode rendering and components seem to be why people use them. And you know what? The web should natively support those but doesn't (well it kinda bad components, but ehhh). Otherwise I agree, the frameworks are overcomplicated.
-
Yew* Rust
FTFY
Nah, they had it right
-
Nah, they had it right
wrote on last edited by [email protected]Knew someone would say that, lol, gold project, sad that it's gone unmaintained and my man started working on home-manager at home
..wait -
div { display: grid; place-content: center; }
We've come a long way...
You misspelled nesting tables
-
It's still Javascript.
-
Most pages don’t need dynamic loading.
My menus need to be dynamically reloaded!
-
got it from here https://front-end.social/@elly/114668957184577014
I was so pleased when a brief for a thing at work was "no frameworks".
-
JavaScript frameworks actually exist for two reasons, one, vanilla JavaScript lacks ease of use (does not suck and I don't care who disagrees) and two, people love over engineering the fuck out of technology. See: technology since the iPhone came out. We have advanced systems around the world spinning up processes to make up for the fact that touch screens are hard to type accurately on.
people love over engineering the fuck out of technology
Exhibit A: 2.85 Million packages, as of mid-2023
-
div { display: grid; place-content: center; }
We've come a long way...
The collective man-hours this would have saved people, if we had it back in 1999, would be staggering.
-
got it from here https://front-end.social/@elly/114668957184577014
Damn that's some spicy takes lol.
-
got it from here https://front-end.social/@elly/114668957184577014
React sucks and is way way way overdone and ill die on that hill
-
got it from here https://front-end.social/@elly/114668957184577014
Obligatory https://justfuckingusehtml.com/
-
got it from here https://front-end.social/@elly/114668957184577014
Wait until you see what they do to avoid learning SQL or Regex or JSON Pointer or XPath.
-
people love over engineering the fuck out of technology
Exhibit A: 2.85 Million packages, as of mid-2023
Unless those are mostly overly complicated, it doesn't speak to what I'm saying. But I guess it means people like doing their own engineering better than relying on others
-
OP, I don't think you've correctly linked to the post (when I visit the linked webpage, the browser tries to download an ActivityPub activity instead of showing the post in the Mastodon web UI). Please replace the link with this one.
got it, my bad
-
Obligatory https://justfuckingusehtml.com/
That was wonderful, thank you for sharing. When it's done well, I really enjoy this style of prose.
-
got it from here https://front-end.social/@elly/114668957184577014
I use plain HTML along tachyons.io, it's pretty neat.
-
Obligatory https://justfuckingusehtml.com/
I had to resize my browser window in order to read that how dare you not simply read my mind and select my preferred column width instead
99% of users, probably