Datastar: Lightweight hypermedia framework for building interactive web apps
1–10 of 298 posts
Re: Datastar: Lightweight hypermedia framework for building interactive web apps
#2Re: Datastar: Lightweight hypermedia framework for building interactive web apps
#3Everything 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
#4Re: Datastar: Lightweight hypermedia framework for building interactive web apps
#5Re: Datastar: Lightweight hypermedia framework for building interactive web apps
#6Re: Datastar: Lightweight hypermedia framework for building interactive web apps
#7Seems pretty elegant if you are willing to give up on the type safety of TSX. I wonder if this can be combined with it somehow. An example using Fresh would be great.
To each their own I guess.
Re: Datastar: Lightweight hypermedia framework for building interactive web apps
#8Also, 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. When you consider users with extremely bad internet connections (there are still people on dsl/older satellite/2G), having to make more requests to the backend that return larger blobs of html (as opposed to fewer requests that return JSON when it is relevant) will result in a significantly more degraded user experience
Re: Datastar: Lightweight hypermedia framework for building interactive web apps
#9 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 signal values.
data-replace-url - Replaces the URL in the browser.
data-scroll-into-view - Scrolls an element into view.
data-view-transition - Sets view-transition-name styles.
Prices are $299 for a solo dev and $999+ for teamsRe: Datastar: Lightweight hypermedia framework for building interactive web apps
#10Everything 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.
Could provide actual arguments for why these aspects of Datastar are "crazy", "even more crazy" and "wrong"?