Htmx application structure
hypermedia-tv
0:00 / 0:00
Htmx application structure
6 283 просмотра · 1 год назад
hypermedia-tv
3,72 тыс. подписчиков
6 283 просмотра · 1 год назад
Sometimes the right way to use htmx is No Htmx.
What this video answers:
How do you build production apps with htmx?
Is there such a thing as application structure for htmx?
Why would htmx fans ask "are you sure you need htmx for that?"
What's one weird trick to speed up your site?
The working demo:
https://hypecp.com/demos/htmx-structure
The code from the video:
https://github.com/tonsoflaz2/hypecp/...
Chapters:
00:00 What we are doing
00:30 You start with no htmx
01:30 Preview of the app
01:58 Layout & navigation
03:50 Structure view
04:42 HTMX line counter
05:00 Separating our row
07:00 What we are linking to emails
09:15 Setting up our edit row view
11:45 FIRST LINE OF HTMX!!
13:10 Close button
14:40 Updating our selects with hx-post
17:11 Why we add an "unlink" button
20:24 Lookups with hx-get
28:41 Updating status
30:38 Making the filters work (no htmx!)
35:30 What we've done
36:35 ONE WEIRD TRICK!!