You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand that htmx supports WebSockets in their most basic form but I'm wondering how hard it would be to extend it to support Phoenix's "Channels"
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I understand that htmx supports WebSockets in their most basic form but I'm wondering how hard it would be to extend it to support Phoenix's "Channels"
Here's a basic example:
Link to example repo: https://github.com/chrismccord/phoenix_chat_example/blob/master/web/static/js/app.js
GitHub
It's not much different than raw WebSockets but has some extra features.
Beta Was this translation helpful? Give feedback.
All reactions