Integrating External WebSockets with Phoenix LiveView

145
clicks
Integrating External WebSockets with Phoenix LiveView
The user skwyckl has developed a dashboard that interacts with WebSocket APIs to receive and push data. They are interested in transitioning from JavaScript to Elixir's Phoenix LiveView to achieve similar functionality. However, they have encountered hurdles in effectively subscribing to external WebSocket APIs and reflecting the data in a LiveView. They explored Elixir's `mint` library and Erlang's `gun` for WebSocket connectivity but still aren't sure how to implement real-time data visualization in their LiveView component. They are reaching out for assistance or resources that could guide them in the right direction to accomplish this task.

© HashMerge 2024