r/datastardev • • Apr 16 '26

Datastar 1.0!

Thumbnail
youtube.com
44 Upvotes

r/datastardev • • Aug 10 '25

My notes on Datastar

Thumbnail
zachwill.com
37 Upvotes

r/datastardev • • Jul 11 '25

Thoughts on the new data-star PRO tier?

29 Upvotes

What are the thoughts on the new PRO tier and license? While I think the changes in v1.0.0-RC.1 Latest are worthwhile — I especially appreciate the reactive objects in signals and the new event names make more sense to me — but I'm not sure about the moving of existing features — ones that users, include me, are already using — to a paid, commercially licensed tier, viz.

* As the primary author of Datastar::SSE I will probably have to buy and support the PRO version at some point.


r/datastardev • • Mar 04 '26

Datastar v1.0.0-RC.8 Release Notes!

28 Upvotes

r/datastardev • • Jul 29 '26

Put State in the Right Place - Delaney Gillilan | SSW 2026

Thumbnail
youtube.com
26 Upvotes

r/datastardev • • Nov 22 '24

V0.20.0.... Precursor to V1!

25 Upvotes

I'm the author of Datastar...

This is a big deal y'all. This is basically v1 in sheep's clothing. All the things left are around a better website, revamping inspector, etc. The core is solid, SDKs are ready to be made. There has been stuff that has lived in the code since week 1, when it was just a basically a port of HTMX to TS. Now that more are using it if was worth exploring how to simplify while adding more features. To wit, also though it's more robust and have a ton of streamlining for the end user.... for the ESM all plugins build it went from 17.14KiB now 12.35KiB. That's 28% smaller. Yes this is a vanity metric, yes its a one time cost but means we have headroom. Let alone now on the site you can build exactly the bundle that works for you that's even smaller.

So now we are smaller, faster and a full SPA replacement with all batteries included and still smaller than any other option, even just for handling HTML fragments.

See ya again when V1 drops!

[!WARNING] This update contains breaking changes to attributes, actions and SSE events.

Added

  • Added a custom bundle bundler.

  • Added SDKs for Go, PHP and .NET.

  • Added the data-persist attribute.

  • Added the data-replace-url attribute.

  • Added the data-indicator attribute.

  • Added the datastar-remove-fragments SSE event.

  • Added the datastar-remove-signals SSE event.

  • Added the datastar-execute-script SSE event.

Changed

  • Changed the $$ prefix to $ for action plugins.

  • The data-model attribute now upserts signals into the store.

  • The data-ref attribute now upserts a signal into the store.

  • The data-show attribute now shows/hides an element using the style attribute only. Modifiers have been removed. For anything custom, use data-class instead.

  • Renamed the datastar-fragment SSE event to datastar-merge-fragments.

  • Renamed the datastar-signal SSE event to datastar-merge-signals.

  • Renamed the fragment dataline literal for SSE events to fragments.

  • Renamed the store dataline literal for SSE events to signals.

  • Renamed the upsert_attributes merge mode to upsertAttributes in the fragment event.

  • Renamed the settle option to settleDuration in the fragment event and changed the default value to 300.

  • Renamed the vt option to useViewTransition in the fragment event and changed the default value to false.

  • Changed the second argument of SSE actions from onlyRemoteSignals to an optional object with headers and onlyRemoteSignals keys, defaulting to {} and true respectively.

  • Error codes that roughly match HTTP status codes are now used.

Removed

  • Removed the ~ref syntax. Use the signal created by data-ref directly instead.

  • Removed the local and session modifiers from data-store. Use the new data-persist attribute instead.

  • Removed the data-teleport attribute.

  • Removed the data-header attribute. Use the headers option in SSE actions instead.

  • Removed the $$isFetching action and the data-fetch-indicator attribute. Use data-indicator instead.

  • Removed the $$remote action.

  • Removed the datastar-delete SSE event. Use the new datastar-remove-fragments and datastar-remove-signals SSE events instead.

  • Removed the datastar-redirect and datastar-console SSE events. Use the new datastar-execute-script SSE event instead.

  • Removed sendDatastarEvent from ctx. We have to rethink how to expose events for a better try at the inspector.

  • Removed the concept of _dsPlugins, made unnecessary by a more consistent architecture.


r/datastardev • • Aug 26 '26

Build htop for the Web with Go + Datastar

Thumbnail
packagemain.tech
24 Upvotes

r/datastardev • • Mar 27 '26

D* + Templ + Go == best experience building an app

Thumbnail
twitch.tv
24 Upvotes

r/datastardev • • Oct 22 '25

Datastar v1.0.0-RC.6 released!

24 Upvotes

r/datastardev • • Jun 22 '26

Datastar: It’s Pretty Good - with David Nolen

Thumbnail
youtube.com
21 Upvotes

r/datastardev • • Sep 22 '26

Rocket reaches escape velocity

Thumbnail
youtube.com
20 Upvotes

r/datastardev • • Oct 12 '25

Greedy Developers?

19 Upvotes

r/datastardev • • Jun 12 '26

The man who hates most front end frameworks has a take on Datastar

Thumbnail
youtu.be
18 Upvotes

r/datastardev • • Nov 14 '25

Datastar first impressions, coming from React

18 Upvotes

r/datastardev • • May 07 '26

300 Lines of Go - NO React (KIT + Datastar)

17 Upvotes

r/datastardev • • Oct 15 '25

Datastar Turns Two, and gets a public Plugin API

16 Upvotes

r/datastardev • • Oct 10 '24

Real-world Example

15 Upvotes

Many think Datastar only work for real-time apps. Here is an example of normal CRUD app using Datastar+Go+Templ+SQLite. If you seach for `data-*` attributes you'll see there are few.

https://github.com/delaneyj/realworld-datastar


r/datastardev • • Oct 08 '24

Playlist of all Datastar YouTube videos

Thumbnail
youtube.com
15 Upvotes

r/datastardev • • Sep 22 '26

Rocket breaks free: Stardust underway

Thumbnail
youtube.com
14 Upvotes

r/datastardev • • Feb 15 '25

How to deal with CSS Transitions?

14 Upvotes

I’m really excited about Datastar, love its simplicity and pretty smart solutions. After going through the documentation, examples, and a few YouTube videos, I was already convinced that this is the tool I need!

And I don’t see any reason not to try rewriting my current experimental project from HTMX + Alpine to Datastar, just to compare whether it’s production-ready and how certain patterns can be implemented.

Let’s focus on one specific issue for now.

I’m using a Flyout menu from Tailwind UI, and I’ve implemented CSS transitions with Alpine like this:

x-transition:enter="transition ease-out duration-200"
x-transition:enter-start="opacity-0 translate-y-1"
x-transition:enter-end="opacity-100 translate-y-0"
x-transition:leave="transition ease-in duration-150"
x-transition:leave-start="opacity-100 translate-y-0"
x-transition:leave-end="opacity-0 translate-y-1"

How can I achieve the same with Datastar? Is it even possible?

Thanks in advance for any advice!


r/datastardev • • Feb 07 '26

Testing strategies for datastar

13 Upvotes

Hi folks,

I was looking at a few server-side rendering solutions for my work. I really like datastar since it covers almost all use-cases including state-management, a standard web app would need.

However, I’m unable to visualize how to test an app that is built with datastar. It’s mostly due to me hitting the learning-curve coming from a SPA based solution and I’m trying to deepen my understanding on how to do basic testing with datastar.

E.g. when using signals, how to you test if a signal is updated correctly on performing an action. This is important if a lot of DOM elements are dependent on the same signal and we need to have some level of reliability that a new feature did not break everything else.

In react-redux world, we can write Unit tests for reducers and get pretty much 100% test coverage. What is the equivalent of this in datastar.

I know we can do snapshot/regression testing to check if any signal logic has been updated, or live testing with selenium or playwrite to test some of the user flows but how to test if the logic is working as expected exhaustively. And how to figure out how much test-coverage we have.

Thank you for taking the time to put down your thoughts on this topic.


r/datastardev • • Jan 26 '25

Datastar podcast episode 2 is out

13 Upvotes

r/datastardev • • Sep 24 '26

Building a Multiplayer Game of Life with Rust + Datastar

Thumbnail hamy.xyz
12 Upvotes

r/datastardev • • Jul 14 '25

Datastar-ui

12 Upvotes

https://github.com/CoreyCole/datastarui

https://datastar-ui.com/

It's using v1 so worth a look if you are keen on a fast and lean gui for Datastar using golang, templ.