Live data from Hacker News

Datastar: Lightweight hypermedia framework for building interactive web apps

data-star.dev

271–280 of 298 posts

Re: Datastar: Lightweight hypermedia framework for building interactive web apps

#271
post #184

Earlier quoted context omitted.

> It is clearly documented on the site in multiple places. Hold up, so then why is pasting THEIR documentation into a comment weird? lol. This is an absolutely insane response to someone simply informing the commentors that there is a price involved in the pro package.

because the implication in this and so many other comments is that they're dishonestly hiding something. There was no other commentary other than a large and prominent comment saying "Watch the fuck out everyone! There be $ hidden in there!"

All they did was post the price of the pro package!!!

Re: Datastar: Lightweight hypermedia framework for building interactive web apps

#272

Earlier quoted context omitted.

There's a such thing as context and intent which are separate from content, and this is directed as much at the people who upvoted this particular content to the top comment as it is to the OP. The conversation on this post is now centered around the fact that they have some premium features for sale. Edit: Now there’s another post on the front page of HN accusing the datastar team of being greedy. https://news.ycomb…

> The conversation on this post is now centered around the fact that they have some premium features for sale. Oh the horror!!!!!!

The open core model is great and entitled buttholes, and open source warriors discouraging people from doing that is pretty horrible.

I mean it’s not war in Ukraine horrible but I think it’s awful that people expect you to work for them for free.

Re: Datastar: Lightweight hypermedia framework for building interactive web apps

#273
post #32

This post and other posts about datastar on the hn frontpage seem unnatural to me. It's like a marketing effort to astroturf this, especially with newly created accounts interacting with this...

One submitted by me, and this one by others, both accounts are ~2012. Not exactly new account.

Re: Datastar: Lightweight hypermedia framework for building interactive web apps

#274
post #251

Earlier quoted context omitted.

The HN comments for that first one gave us the worst "advice" that this site has ever seen and might ever see [1]: > Nothing that is visible "below the fold" should ever run or load until the page is scrolled down by the site visitor. The commenter septupled down and eventually blamed trolls :D 1. https://news.ycombinator.com/item?id=42285326

Sorry, I'm not understanding what relevance some HN comments have to do with the link I shared...? Though, for the record, I agree with everything that person - and other sibling commenter - wrote. It is quite obvious the people were not reading and replying in good faith.

Okay! That is a wild thing to admit!

Re: Datastar: Lightweight hypermedia framework for building interactive web apps

#275

Earlier quoted context omitted.

> The conversation on this post is now centered around the fact that they have some premium features for sale. Oh the horror!!!!!!

The open core model is great and entitled buttholes, and open source warriors discouraging people from doing that is pretty horrible. I mean it’s not war in Ukraine horrible but I think it’s awful that people expect you to work for them for free.

Posting documentation from the site != "people expect you to work for them for free."

Really an insane thing to see a comment that informs you of pricing for their pro package and have a horde of people jump in with "How dare you!!!?!?!"

Re: Datastar: Lightweight hypermedia framework for building interactive web apps

#276
It amazes that we are a still solving low level problems for CRUD applications. No, you cannot develop highly interactive non CRUD app with Datastar/HTMX/Unpoly.

We need higher level abstractions and solutions. How the client and the server communicate is still low level for developing apps, more so CRUD apps.

Re: Datastar: Lightweight hypermedia framework for building interactive web apps

#277
post #229

Earlier quoted context omitted.

reducing complexity is important but is hardly the fundamental reason to choose between server side or client side rendering or state management. that just depends on the nature of the problem and the context it has to be solved in. sometimes it doesn't matter, then you have a choice. you guys are furiously arguing (and not really listening) about this or that hammer being good enough to treat every problem as a nail…

Why? What's stopping you putting some state on the client with datastar. Just because it's discouraged doesn't mean you can't. It has a whole client side signal system.

interesting! i wasn't aware of that, thanks for pointing it out.

to be clear, my point was that where the state has to be managed is more often than not an architectural decision given by the requirements, and the choice of tools should be a consequence of that, not a precondition.

Re: Datastar: Lightweight hypermedia framework for building interactive web apps

#278

Datastar is run by some principled (and opinionated) guys who are immensely generous with their time and supportive to newcomers. What’s getting lost in the whole kerfufflw over the Pro version is that this is NOT a monetization strategy. There is no intent to hook you - in fact they go out of their way to tell your you don’t need it. And the company is a registered non-profit. Based on their own extensive experience…

Copy-to-clipboard is a support heavy feature? Do you really think Datastar is of such ridiculously bad quality that even simple features require a lot of support to get working?

I implemented copy to clipboard in datastar in maybe 1 minutes with an AI agent. What exactly are you providing to the world for free?

Re: Datastar: Lightweight hypermedia framework for building interactive web apps

#279

Earlier quoted context omitted.

data-animate - Animates element attributes over time. data-on-resize - Runs an expression on element resize. data-scroll-into-view - Scrolls an element into view. If these are footguns then they can't be designed very well. I also don't think you can say that they'd only appeal to a small group. I don't have any problem with them charging for whatever they want to. But let's not make up excuses.

1. You should be using CSS for animations 2. You should be using data-on to listen to the window level resize event (which doesn't require a pro plugin). 3. Scroll element into view can be replicated with data-on-load="el.scrollIntoView()" The main benefit of pro is supporting the project.

> You should be using CSS for animations

CSS can only animate appearance, not HTML attributes like the `value` of a ``

> You should be using data-on to listen to the window level resize event

That event is fired when the window is resized, not when an element is resized

Re: Datastar: Lightweight hypermedia framework for building interactive web apps

#280

Earlier quoted context omitted.

The issue is that if you have to make more requests overall, there is a non-negligible rtt for each of those requests, which on slow connections can add up very fast

Try my demo [1] on 3G slow. It works fine. Turns out brotli compression does wonders. [1] https://checkboxes.andersmurphy.com

on real 3g, seems to load in about 5s. As good as hackernews imho
Post reply on HN