Alex L 🕊 🇵🇸

@alxlg
301 Followers
279 Following
2.6K Posts
Why I switched from HTMX to Datastar

I've been interested in #datastar recently because of its server-driven, push-based nature, in comparison to all the pull-based stuff I end up doing in #HTMX.

For that reason, this background talk on Datastar was really interesting to watch: https://www.youtube.com/watch?v=0K71AyAF6E4

Real-time Hypermedia - Delaney Gillilan

YouTube
Every time I use a calendar "app" I mourn the regression from 80s-era principles of usable GUI. Can I cut and paste appointments? I can not. Can I select and manipulate multiple appointments? I can not. Can I perform search-and-replace in my calendar? I can not. Is there, then, a separation between Model and View such that I may manipulate my appointments in an alternative interaction language such as a CSV file? There is not.
Greedy Developer?

Datastar
6 free tools that should be on every self-hoster's machine:
#Authentik, Simple way to add SSO to your app stack
#NginxProxyManager, For your reverse proxy needs
#UptimeKuma, To get notified when your services go down
#Portainer Make container management a lot easier
#Tailscale Remotely access your arsenal of services
#Kopia Back up your container volumes
https://www.xda-developers.com/free-tools-that-should-be-on-every-self-hosters-machine/
6 free tools that should be on every self-hoster's machine

Level up your self-hosted arsenal's functionality with these neat tools

XDA

Datastar: Lightweight hypermedia framework for building interactive web apps

https://data-star.dev/

#HackerNews #Datastar #Hypermedia #WebApps #InteractiveFramework #DevTools

Datastar

The hypermedia framework.

Datastar

@adamghill @alxlg I highly recommend it!

I'm planning on posting a blog post in the next couple of days showing why I have switched from HTMX to Datastar.

When I use Datastar, I think about rendering the whole component instead of trying to render partials, since they use an algorithm (I think ideomorph) to change what needs updating.

Buying popcorn for when I get to watch Apple trying to not allow Ladybird browser in the EU because REASONS.

🍿

This will crash the global economy
We have now landed more than 70 bugfixes based on Joshua's work.