Chat UI #2048
Unanswered
amitmahajan82
asked this question in
Q&A
Chat UI
#2048
Replies: 2 comments 3 replies
-
HTMX is perfect for such a scenario. Read the HTMX documentation on HATEOAS, though. You're talking about a REST API, and HTMX's philosophy is to not use an API but produce HTML on the server instead. |
Beta Was this translation helpful? Give feedback.
3 replies
-
This article has a nice write-up on how to use WebSockets and Django in combination with HTMX to create a chat application. Perhaps it will help you! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello All,
I don't know frontend development. One of my teammates suggest me to use htmx for website UI. Website is having chat messaging functionality as well. I am wondering can htmx be used for chat messaging UI (like WhatsApp web)?
Idea is that on chat page load in browser, chat history for different people in the friend list would can be fetched from server using a REST API, and then real time chat messaging will start through the web socket connection.
Is htmx suitable for such kind of use case?
Thanks.
Amit
Beta Was this translation helpful? Give feedback.
All reactions