mysterious-toddler-20573
10/28/2021, 8:49 PMgorgeous-airport-54386
10/28/2021, 8:50 PMmysterious-toddler-20573
10/28/2021, 8:59 PMmysterious-toddler-20573
10/28/2021, 9:00 PMred-farmer-97020
10/29/2021, 12:14 AMHX-Redirect but that causes a full screen refresh, which I'd like to avoid if possiblegorgeous-ghost-95789
10/29/2021, 12:15 AMgorgeous-ghost-95789
10/29/2021, 12:15 AMred-farmer-97020
10/29/2021, 12:17 AMhx-boost, where the path just causes an AJAX request that swaps/targets the body (and also pushes to the history properly)red-farmer-97020
10/29/2021, 12:23 AMmysterious-toddler-20573
10/29/2021, 12:25 AMmysterious-toddler-20573
10/29/2021, 12:25 AMHX-Push-Url response headerred-farmer-97020
10/29/2021, 12:31 AMeager-tiger-27508
10/29/2021, 5:40 AMlucid-htmx immediately. Watch the rest if you're interested in Haskell web dev.eager-tiger-27508
10/29/2021, 5:45 AMlucid-htmx. I've recently published the package to hackage, the Haskell package manager. Check it out here: https://hackage.haskell.org/package/lucid-htmx
Documentation here: https://hackage.haskell.org/package/lucid-htmx-0.1.0.0/docs/Lucid-HTMX.html
I recommend watching the loom video at 1.5 ~ 2 times speed. I talk slow and the video is long but watching it at a higher speed, I think it's a good pace. If you want to skip straight to the htmx stuff, skip to the 58 minute mark. Otherwise, I take a dive into web dev in Haskell and answer some interesting questions like how to query a database in Haskell, how to implement a server in Haskell, and what are some annoying things about Haskell development.eager-tiger-27508
10/29/2021, 5:49 AMeager-tiger-27508
10/29/2021, 5:59 AMstack build at the root of the folder.cold-lamp-11377
10/29/2021, 7:39 AMcold-lamp-11377
10/29/2021, 9:14 AMbig-airline-13935
10/29/2021, 10:24 AMgorgeous-airport-54386
10/29/2021, 10:31 AMbig-airline-13935
10/29/2021, 10:32 AMbig-airline-13935
10/29/2021, 10:41 AMbig-airline-13935
10/29/2021, 10:42 AMlate-king-98305
10/29/2021, 1:27 PMgorgeous-airport-54386
10/29/2021, 1:38 PMgorgeous-airport-54386
10/29/2021, 1:38 PMmysterious-toddler-20573
10/29/2021, 2:34 PMproud-librarian-99598
10/29/2021, 2:58 PMhx-trigger="delay:1000ms" to get content periodically, but it does not seem to work. If there is anybody that has a clue why that might be, feel free to comment on my answer at https://stackoverflow.com/questions/69740440/updating-an-html-data-table-using-thymeleaf-java-and-spring-mvc/69750735gorgeous-airport-54386
10/29/2021, 3:01 PMhtml
> <div hx-get="/latest_updates" hx-trigger="every 1s">
> Nothing Yet!
> </div>
>
https://htmx.org/attributes/hx-trigger/proud-librarian-99598
10/29/2021, 3:06 PMdelay:1s a one time thing maybe?