Earlier quoted context omitted.
The native API is much more verbose and less composable. It was a real lost opportunity.
const $ = document.querySelector.bind(document) const $$ = document.querySelectorAll.bind(document)
Htmx is part of the GitHub Accelerator
101–110 of 520 posts
Re: Htmx is part of the GitHub Accelerator
#102Earlier quoted context omitted.
Off topic, but: > The right to erasure is also known as ‘the right to be forgotten’. https://ico.org.uk/for-organisations/uk-gdpr-guidance-and-re...
no such right exists; that would be like the right to rob with impunity of course clever demagogues and rhetoricians can write such things into legislation, just as they can write legislation that claims you have no right to speak freely, but that just makes the legislation incorrect, like the famous legislation declaring pi to be exactly 3
Re: Htmx is part of the GitHub Accelerator
#103It's so odd to live long enough and see the steady pipeline of "look at this much simpler way of doing web apps, just write HTML, not like the previous complex way" projects, which then turn into the previous complex way as the eyes turn towards the next "simple way of doing web apps, just write HTML...". Angular and React started this way on the frontend, while ASP and PHP started this way on the backend (of course…
Don't forget Polymer, whose main marketing was that it's the tech behind... McD's menu screens. It turned into lit html, I have no idea what the state of that is now, haven't heard from it for a while now.
Re: Htmx is part of the GitHub Accelerator
#104Earlier quoted context omitted.
Angular 1, I don't know about Angular 2 had syntax like ng-repeat {{action.text}}
A syntax-based comparison feels a bit... superficial. One is an MVC based SPA framework. The other is best described (in my mind) as syntactic sugar over AJAX calls that replace inner HTMLs of selected targets.
Re: Htmx is part of the GitHub Accelerator
#105After seeing _hyperscript, it looks like they may have invented that first, and a lot of people's heads exploded, so they decided to try to make a "gateway drug" to sneakily introduce _hyperscript, and came up with htmx.
Re: Htmx is part of the GitHub Accelerator
#106Re: Htmx is part of the GitHub Accelerator
#107[flagged]
nobody has the right to be forgotten nothing you say can be unsaid; therefore speak judiciously https://uuliveoak.org/Story%20ideas%20-%20service%20or%20cla... > “Now Yankel,” the Rabbi began “go back through the town and collect all of the feathers. Put them back into the pillow and bring the fully stuffed pillow back to me.” > “But Rabbi!!!” Yankel burst out. “That will be impossible. Even as I was walking away fro…
Feel free to Geoblock the entire market if you disagree. Many small news sites in the states do this.
Re: Htmx is part of the GitHub Accelerator
#108Earlier quoted context omitted.
Angular 1, I don't know about Angular 2 had syntax like ng-repeat {{action.text}}
A syntax-based comparison feels a bit... superficial. One is an MVC based SPA framework. The other is best described (in my mind) as syntactic sugar over AJAX calls that replace inner HTMLs of selected targets.
In react you don't use the mechanism of directives, you use JSX or React.createElement in standard Javascript statements or expressions.
I think it's important because it decides your templating and composition, which is what React solves with its Components.
I played with pjax which is similar.
EDIT: For example, you might not want ng-click in your HTML if you think that is wrong for example, as it's like DHTML and onclick="" (I don't have a perspective on this at this time)
Re: Htmx is part of the GitHub Accelerator
#109The twists and turns my career has taken had me pretty much skip the whole front-end JavaScript framework wars so it's nice to see "plain old HTML" make an enhanced comeback.
This is a regression on graceful degradation.
Re: Htmx is part of the GitHub Accelerator
#110When accounting for the limited amount of time and mental load people have, wouldn't the best bang for your buck be doing react/vue/js?