by kuba-orlik on 2/7/24, 4:22 PM with 20 comments
by ndriscoll on 2/7/24, 5:18 PM
Many things on the web are not interactive at all (news, blogs, shopping) or have almost no interactivity (forums). These things could just be HTML with a sprinkle of JavaScript for some flair like it's 2002. Ironically Facebook falls into this category; almost nothing on their site needs to "react" to anything (except to spy on every mouse movement you make, obviously).
Something like tax forms should probably be xforms in a better universe. It's literally a form, but some fields might be calculated from other fields.
A word processor as a web page is a funny technical demo, but it's mostly an artifact of how Windows and Mac didn't have app repositories for 20 years (still basically don't? Idk). There's no way in hell that it was easier to use JavaScript and CSS to make a cross platform UI than something like Qt, especially at the time.
I get a chuckle whenever people talk about "supporting dark mode" like that's a modern feature. You used to be able to set your color palette in the OS settings, and every program had dark mode by default (this still works with native apps on KDE at least). It would be a lot less work for web developers and make for a better experience if the browser just respected that preference for default page styles, and then web pages/apps used canonical style names to access that palette, but here we are.
by blackoil on 2/7/24, 5:08 PM
by rideontime on 2/7/24, 6:05 PM
by gilbraithVO on 2/7/24, 5:03 PM
by joenot443 on 2/7/24, 6:02 PM
> Every single core function of these apps could work—and work well!—without a single drop of JavaScript.
...what? I'd really love to live in a world where we could deploy an app like Google Docs or Discord without JS but that's just not the reality.
> Most of what we build is links from one page to another, and form submissions that send data from the browser to the server.
I'm not sure who the "we" being described here is, but it doesn't really describe the day to day of the web engineers in my circle.
My cynical guess is the motivation for this piece is more rooted in advertising Chris' bootcamp and consulting services than it is sharing earnest expertise.
>Discord-like apps have existed since before JavaScript did. Back in the 90’s, chat rooms where literally form elements that you typed into. You’d submit to the server, the page would update, and your post would be displayed. If you wanted to see new posts, you’d refresh the browser.
I don't think this is the kind of thing I'd want to hear from someone I paid to improve my website :)
by jimberlage on 2/7/24, 6:05 PM
It’s the styled components bit that makes everyone reach for react over ERB/HTMX/whatever. Web components wants to solve this but the API is just not there yet for smaller teams.
I think people who want simplicity are on a great path, but without addressing how bad the intersection of CSS and HTML frameworks is compared to React & friends, it’s an uphill battle.
by gmuslera on 2/7/24, 5:56 PM
by tipiirai on 2/7/24, 5:00 PM
Can you expand this sentence a bit? Thanks
by mediumsmart on 2/8/24, 6:22 AM
by from-nibly on 2/7/24, 7:46 PM
Right with that well known html tag built into all browsers.
<MultiUserRealTimeOfflineCloudSyncDocumentEditorWithPDFAndDocxSupport />
It's been in the browser for years. Wake up sheeple.
by iceboxic on 2/7/24, 6:06 PM
by LegitShady on 2/7/24, 6:34 PM