Earlier quoted context omitted.
So your answers is no, you cannot provide any arguments.
The poster provided an example of poor abstraction. HTML for display, JS for client side logic. Combining them is part of the problem with other popular frameworks.
Datastar: Lightweight hypermedia framework for building interactive web apps
191–200 of 298 posts
Re: Datastar: Lightweight hypermedia framework for building interactive web apps
#192Is there documentation on how they made that slick Star space animation on the front page? Very cool and retro looking
It's just a basic 1kb web component driven by datastar attributes
Re: Datastar: Lightweight hypermedia framework for building interactive web apps
#193Maybe it is because I'm a bit too deep in the React ecosystem at this point, but once you start trying to do any reasonably complex task, this seems like it would be significantly harder to reason about. Also, unless I'm misunderstanding it, this revolves a lot around the backend returning HTML to do backend-as-frontend, which given my previous experiences with the concept, I wouldn't want to touch with a 10ft pole.…
In my experience from using react apps on 2g/3g… I would much prefer the html. Usually, you get the content in 1-2 seconds with html, where you could end up with a react apps that never loads at all. Why does it never load? Because enterprising engineers usually invent their own timeouts that make no sense when you are dealing with bytes-per-second. There’s already a one minute timeout on the socket, and it knows if…
Re: Datastar: Lightweight hypermedia framework for building interactive web apps
#194Earlier quoted context omitted.
You literally have a custom Javascript-like DSL already https://data-star.dev/guide/datastar_expressions This wilful insanity is completely incomprehensible to me (HTMX and lit are also fully infected with it): "Oh no, we are just HTML, we can't do anything" while literally doing tons of things outside of HTML.
What's your alternative that stay HTML spec compliant? Instead of whining show code
Again: you literally have a custom Javascript-like DSL in Datastar. Use that.
It's like the "it's just HTML" or "it's HTML-compliant" mantra somehow damages the brain, or something.
Edit: this custom JS-like DSL is so prominent and such a crucial part of Datastar, that it's referenced in the very first paragraph of reference: https://data-star.dev/reference
Oh, look, your HTML-spec-compliant thing in which it is apparently impossible to do anything outside data-* attributes somehow calls external functions, and updates signals, and reads signals, and does all sorts of things:
But no! It's absolutely impossible to do something about data-on-click__window__debounce.500ms.leadingRe: Datastar: Lightweight hypermedia framework for building interactive web apps
#195Everything about this seems so bad! The website doesn't look serious at all. The code adds crazy html attributes, even more crazy than other crazy front-end frameworks like `data-on-input__debounce.200ms="@get('/examples/active_search/search')"`... this level of wrong is incredible.
Re: Datastar: Lightweight hypermedia framework for building interactive web apps
#196Earlier quoted context omitted.
Looking at https://data-star.dev/reference/datastar_pro#pro-features the features that stood out for me as things I would want to to use (and that don't feel particularly "pro" to me) are the animation features, data-replace-url, data-on-resize, data-scroll-into-view, the @clipboard() mechanism and, most importantly, the debugging tool. My problem with this business model is that it has a chilling effect on open sour…
Datastar is currently in the Release Candidate phase of v1, which they seem to be certain will be the final form of Datastar. So, they're really not looking for "community contributions" to the core of datastar, other than for feedback to polish it off. Moreover, ALL of the features are "plugins" - there's nothing stopping anyone from building and sharing their own. It is actually encouraged. In fact, in their next r…
Re: Datastar: Lightweight hypermedia framework for building interactive web apps
#197Earlier quoted context omitted.
They're not even running a business on this - its literally registered as a 501c3 nonprofit. Its a labour of love that theyve shared with the world, and they actively tell people that the pro features are unnecessary for most projects. If you want those features or just want to support the project, the cost is quite fair, and just goes to things like traveling to do conference talks etc... They are not getting rich o…
If they are charging for features, those features are a business, even if its a nonprofit business. There is also precedent for the IRS to consider it unrelated business income and to make them pay taxes on it, but that seems to be a huge grey area in US tax law.
Re: Datastar: Lightweight hypermedia framework for building interactive web apps
#198Earlier quoted context omitted.
Datastar is currently in the Release Candidate phase of v1, which they seem to be certain will be the final form of Datastar. So, they're really not looking for "community contributions" to the core of datastar, other than for feedback to polish it off. Moreover, ALL of the features are "plugins" - there's nothing stopping anyone from building and sharing their own. It is actually encouraged. In fact, in their next r…
Naming things really is hard. I can’t even with these names.
Re: Datastar: Lightweight hypermedia framework for building interactive web apps
#199Earlier quoted context omitted.
I'm sorry people didn't immediately take to this financing model as well as you did. The average person is not as invested as you and most people are going to immediately switch off if they hear part of the functionality costs money and this isn't mentioned anywhere on the front page. Doesn't matter how "unnecessary" these features are, it's a bad look. Plenty of other open source projects make money without attracti…
People pay for things all the time, why not (almost surely unnecessary) code? Why do you all feel entitled to free access to thousands of hours of very highly skilled devs' efforts (most of which they actually are giving away for free)? Moreover, it is quite common for there to be pro versions of libraries these days - tailwind, all sorts of component libraries, etc.. > Plenty of other open source projects make money…
Or if you want to be altruistic (as you keep referring to nonprofit) make it free and solicit donations/patreon.
The current approach is certainly a new one and I am interested to see if it pays off.
Re: Datastar: Lightweight hypermedia framework for building interactive web apps
#200It isn't mentioned on the homepage, but Datastar does charge for the following features: data-animate - Animates element attributes over time. data-custom-validity - Adds custom validity to an element. data-on-raf - Runs an expression on every animation frame. data-on-resize - Runs an expression on element resize. data-persist - Persists signals in local storage. data-query-string - Syncs query string params with sig…
[flagged]
https://news.ycombinator.com/newsguidelines.html
You can always make your substantive points thoughtfully, so please do that instead.
Edit: two things I realized after posting the above: (1) you're the project creator! well, I can understand how anyone would react negatively given the critical things some commenters have been posting.
But also (2) you've been breaking the site guidelines in other comments too (e.g. https://news.ycombinator.com/item?id=45539942). Ultimately we need you to stick to the rules, regardless of what other commenters are doing, and of course the same applies to them also.
(p.s. in case it's not clear, I'm a mod here and just trying to keep the peace a bit)