Are datastar Signals the easiest front-end interactivity?
Автор: hypermedia-tv
Загружено: 2025-04-13
Просмотров: 6866
In this video we explore Datastar's signals, which give you the ability to create and use front-end variables.
Signals can be used similar to AlpineJS or hyperscript -- great for use in hypermedia-based applications, including htmx (or of course, datastar).
As examples we create a counter and a drop-down, and provide the full code for a page with working tabs and a global toggle.
Full demo:
https://hypecp.com/demos/datastar-sig...
Full code:
https://github.com/tonsoflaz2/hypecp/...
Datastar: https://data-star.dev
0:00 Intro & Datastar Claims
0:34 What I've done
1:06 "Installing" datastar
1:24 The COUNTER
2:51 The DROPDOWN
5:07 The rest (tabs, global toggle)
5:42 Other stuff you can do with datastar
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: