Live data from Hacker News

Datastar: Web Framework for the Future?

chrismalek.me

1–10 of 161 posts

Re: Datastar: Web Framework for the Future?

#2
The TODOS mini application at data-star.dev is slow and doesn't work correctly for me (checking/unchecking items isn't reliable). To me, this highlights one common problem I've seen with frameworks that insist on doing everything on the server.

Re: Datastar: Web Framework for the Future?

#3
post #2

The TODOS mini application at data-star.dev is slow and doesn't work correctly for me (checking/unchecking items isn't reliable). To me, this highlights one common problem I've seen with frameworks that insist on doing everything on the server.

Agreed, I have gig internet and a hardwire connection and still get more lag than I'd want from a web app.

Potentially could be solved with some client side cache but still..

Re: Datastar: Web Framework for the Future?

#5
first, great well structured and accessible post.

convinced me to maybe try datastar out next prototype where its applicable. reminds me of htmx with hyperscript if hyperscript wasnt kind of a joke. to clarify, the author of hyperscript calls it a sort-of joke and im not trying to slam it.

ive used htmx and hyperscript for prototyping because its entertaining and the novelty is motivating. i found similar issues as the author of this post where i talk myself out of using htmx for the product by the end of prototyping.

all that said we've been evaluating a react sdk provided by ESRI (experience builder) and diving into that makes me stare longingly at datastar where it seems like i could use signals to update client-side data from 3rd party apis

Re: Datastar: Web Framework for the Future?

#6
This is the second post I’ve seen praising Datastar in the last 24 hours, and once again no mention of the requirement to punch a gaping hole in one’s Content-Security-Policy.

If this is the framework of the future, cyber criminals are going to have a bright future!

Re: Datastar: Web Framework for the Future?

#8
post #2

The TODOS mini application at data-star.dev is slow and doesn't work correctly for me (checking/unchecking items isn't reliable). To me, this highlights one common problem I've seen with frameworks that insist on doing everything on the server.

I have the fastest internet in the whole country and I couldn't add new todo, also deleting the todo item is very slow.

Re: Datastar: Web Framework for the Future?

#9
post #6

This is the second post I’ve seen praising Datastar in the last 24 hours, and once again no mention of the requirement to punch a gaping hole in one’s Content-Security-Policy. If this is the framework of the future, cyber criminals are going to have a bright future!

How does this compare to HTMX (security wise)?
Post reply on HN