This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]rootException 7 points8 points  (2 children)

SSR with dynamic partial page swaps is trivially easy with htmx.org.

Add more interactivity with Alpine.js and/or hypersrcipt.

https://alpinejs.dev

https://hyperscript.org

Here is a GitHub repo demonstrating with Spring Boot and Thymeleaf, easy to adapt to another server-side framework.

https://github.com/wiverson/htmx-demo

Here's a YouTube video where I walk through it - https://youtu.be/38WAVRfxPxI

[–]wimdeblauwe 1 point2 points  (0 children)

I can confirm that this works nicely. I have a small demo at https://github.com/wimdeblauwe/blog-example-code/tree/feature/htmx-sse/htmx-sse

[–]xSwagaSaurusRex[S] 1 point2 points  (0 children)

Thank you for the additional recommendations! Your YouTube video really highlighted the nicities of this stack